debian-mirror-gitlab/app/graphql/queries/epic/epic_children.query.graphql

133 lines
2.3 KiB
GraphQL
Raw Normal View History

2021-02-22 17:27:13 +05:30
fragment PageInfo on PageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
fragment RelatedTreeBaseEpic on Epic {
id
iid
title
webPath
relativePosition
userPermissions {
__typename
adminEpic
createEpic
}
2021-06-08 01:23:25 +05:30
descendantWeightSum {
closedIssues
openedIssues
}
2021-02-22 17:27:13 +05:30
descendantCounts {
__typename
openedEpics
closedEpics
openedIssues
closedIssues
}
healthStatus {
__typename
issuesAtRisk
issuesOnTrack
issuesNeedingAttention
}
}
fragment EpicNode on Epic {
...RelatedTreeBaseEpic
state
reference(full: true)
relationPath
createdAt
closedAt
2021-09-30 23:02:18 +05:30
confidential
2021-02-22 17:27:13 +05:30
hasChildren
hasIssues
group {
__typename
fullPath
}
}
query childItems(
$fullPath: ID!
$iid: ID
$pageSize: Int = 100
$epicEndCursor: String = ""
$issueEndCursor: String = ""
) {
group(fullPath: $fullPath) {
__typename
id
path
fullPath
epic(iid: $iid) {
__typename
...RelatedTreeBaseEpic
children(first: $pageSize, after: $epicEndCursor) {
__typename
edges {
__typename
node {
__typename
...EpicNode
}
}
pageInfo {
__typename
...PageInfo
}
}
issues(first: $pageSize, after: $issueEndCursor) {
__typename
edges {
__typename
node {
__typename
iid
epicIssueId
title
2021-12-11 22:18:48 +05:30
blocked
2021-02-22 17:27:13 +05:30
closedAt
state
createdAt
confidential
dueDate
weight
webPath
reference(full: true)
relationPath
relativePosition
assignees {
__typename
edges {
__typename
node {
__typename
webUrl
name
username
avatarUrl
}
}
}
milestone {
__typename
title
startDate
dueDate
}
healthStatus
}
}
pageInfo {
__typename
...PageInfo
}
}
}
}
}