debian-mirror-gitlab/app/assets/javascripts/sidebar/queries/project_milestones.query.graphql
2022-01-26 12:08:38 +05:30

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
}
}
}
}