Files
task-stream/libs/web/tracker/infrastructure/src/lib/graphql/fragments.graphql
Josep Piguillem 285bd5c454 feat: what is new since my last visit, and turning a comment into a ticket
Opening a ticket notes the visit and answers the one before (issue_visits),
so the page marks others' comments and changes since. A comment can become
a ticket of its own, as a subtask or linked; it remembers where it went.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 21:05:44 +02:00

261 lines
2.9 KiB
GraphQL

fragment UserRefFields on UserRef {
id
name
}
fragment ProjectFields on Project {
id
key
name
description
isPublic
acceptsProposals
archivedAt
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
}
checklistBeforeDone
teams {
id
name
memberIds
archived
}
}
}
fragment IssueSummaryFields on Issue {
id
projectId
key
type
area
team
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
pinned
followingTree
myReminder {
at
note
}
reviews {
id
requester {
...UserRefFields
}
reviewer {
...UserRefFields
}
note
requestedAt
verdict
answer
answeredAt
}
decisions {
...CommentFields
}
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
}
}
decision
decidedBy {
...UserRefFields
}
poll {
options {
text
voters {
...UserRefFields
}
}
closed
winner
}
resolved
resolvedBy {
...UserRefFields
}
spawned {
id
key
}
createdAt
editedAt
author {
...UserRefFields
}
}
fragment ReleaseFields on Release {
id
projectId
name
description
targetDate
status
releasedAt
notes
}
fragment ActivityFields on Activity {
id
type
projectId
issueId
issueKey
summary
occurredAt
actor {
...UserRefFields
}
}
fragment CommandResultFields on CommandResult {
id
key
version
}