⭐️⭐️⭐️ 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
import type { CustomField } from '@/lib/api/endpoints/customFields';
// The project scaffold carries every field of the project; a detail surface takes
// the project-wide ones plus the issue type's own.
export function fieldDefsForType(fields: CustomField[], typeId: number | null): CustomField[] {
return fields.filter((f) => f.issueTypeId == null || f.issueTypeId === typeId);
}