#import "./milestone.fragment.graphql"

query projectMilestones($fullPath: ID!, $title: String, $state: MilestoneStateEnum) {
  workspace: project(fullPath: $fullPath) {
    __typename
    attributes: milestones(searchTitle: $title, state: $state) {
      nodes {
        ...MilestoneFragment
        state
      }
    }
  }
}
