Files
task-stream/libs/web/tracker/infrastructure/src/lib/graphql/fragments.graphql
Josep Piguillem f7e850068b feat: custom fields per project
Text, number, date or option-list fields defined in the project settings
(archived, never removed; their type is fixed once saved). Tickets hold
them, edited in the side panel, listed under the title and filtered by
option in the list view; also over GraphQL, REST (?field=ID:value) and MCP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 09:31:12 +02:00

206 lines
2.2 KiB
GraphQL

fragment UserRefFields on UserRef {
id
name
}
fragment ProjectFields on Project {
id
key
name
description
isPublic
acceptsProposals
updatedAt
version
owner {
...UserRefFields
}
members {
role
user {
...UserRefFields
}
}
settings {
statuses {
id
name
category
color
requiresReason
archived
wipLimit
}
transitions {
from
to
}
issueTypes {
id
name
icon
color
archived
template {
description
checklist
}
}
areas {
id
name
archived
}
customFields {
id
name
type
options
archived
}
}
}
fragment IssueSummaryFields on Issue {
id
projectId
key
type
area
title
status
statusCategory
priority
labels
commentCount
updatedAt
version
assignee {
...UserRefFields
}
release {
id
name
}
sprint {
id
name
}
parent {
id
key
title
}
blockedBy {
id
key
title
}
votes
voted
rank
storyPoints
startDate
dueDate
customFields {
fieldId
value
}
trashedAt
}
fragment IssueFields on Issue {
...IssueSummaryFields
description
figmaUrl
createdAt
allowedTransitions
reporter {
...UserRefFields
}
links {
type
direction
issueId
issueKey
}
watchers {
...UserRefFields
}
checklist {
id
text
done
}
devLinks {
kind
url
title
ref
state
provider
repository
author
at
}
attachments {
id
fileName
mimeType
size
uploadedAt
commentId
uploadedBy {
...UserRefFields
}
}
}
fragment CommentFields on Comment {
id
issueId
body
replyTo
deleted
reactions {
emoji
users {
...UserRefFields
}
}
createdAt
editedAt
author {
...UserRefFields
}
}
fragment ReleaseFields on Release {
id
projectId
name
description
targetDate
status
releasedAt
notes
}
fragment ActivityFields on Activity {
id
type
issueId
issueKey
summary
occurredAt
actor {
...UserRefFields
}
}
fragment CommandResultFields on CommandResult {
id
key
version
}