⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
// The delay the server stores for a triggered agent run: delegation, a field trigger,
// a status schedule. A blank or unparseable input means no delay; the value is clamped
// to the server's 0..24h range.
export function delaySecFromMinutes(minutes: string): number {
const n = Math.round(Number(minutes.trim()));
if (!Number.isFinite(n) || n <= 0) return 0;
return Math.min(n, 1440) * 60;
}