Files
task-stream/libs/web/tracker/infrastructure/src/lib/graphql/fragments.graphql
Josep Piguillem 88928b402f feat: mentions and following tickets
Mention project members in comments with @, follow and unfollow tickets,
and get told when something changes on the tickets you follow. Commenting
on a ticket starts following it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 09:41:32 +02:00

145 lines
1.6 KiB
GraphQL

fragment UserRefFields on UserRef {
id
name
}
fragment ProjectFields on Project {
id
key
name
description
isPublic
updatedAt
version
owner {
...UserRefFields
}
members {
role
user {
...UserRefFields
}
}
settings {
statuses {
id
name
category
color
requiresReason
archived
}
transitions {
from
to
}
issueTypes {
id
name
icon
color
archived
}
areas {
id
name
archived
}
}
}
fragment IssueSummaryFields on Issue {
id
projectId
key
type
area
title
status
statusCategory
priority
labels
commentCount
updatedAt
version
assignee {
...UserRefFields
}
release {
id
name
}
}
fragment IssueFields on Issue {
...IssueSummaryFields
description
figmaUrl
storyPoints
dueDate
createdAt
allowedTransitions
reporter {
...UserRefFields
}
links {
type
direction
issueId
issueKey
}
watchers {
...UserRefFields
}
attachments {
id
fileName
mimeType
size
uploadedAt
commentId
uploadedBy {
...UserRefFields
}
}
}
fragment CommentFields on Comment {
id
issueId
body
createdAt
editedAt
author {
...UserRefFields
}
}
fragment ReleaseFields on Release {
id
projectId
name
description
targetDate
status
releasedAt
}
fragment ActivityFields on Activity {
id
type
issueId
issueKey
summary
occurredAt
actor {
...UserRefFields
}
}
fragment CommandResultFields on CommandResult {
id
key
version
}