20 lines
434 B
GraphQL
20 lines
434 B
GraphQL
#import "./milestone.fragment.graphql"
|
|
|
|
query projectMilestones($fullPath: ID!, $title: String, $state: MilestoneStateEnum) {
|
|
workspace: project(fullPath: $fullPath) {
|
|
__typename
|
|
id
|
|
attributes: milestones(
|
|
searchTitle: $title
|
|
state: $state
|
|
sort: EXPIRED_LAST_DUE_DATE_ASC
|
|
first: 20
|
|
includeAncestors: true
|
|
) {
|
|
nodes {
|
|
...MilestoneFragment
|
|
state
|
|
}
|
|
}
|
|
}
|
|
}
|