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