#import "./burnup_timebox_report.fragment.graphql"

query BurnupTimesSeriesData($id: ID!, $isIteration: Boolean = false, $weight: Boolean = false) {
  milestone(id: $id) @skip(if: $isIteration) {
    id
    title
    report {
      ...BurnupTimeboxReport
    }
  }
  iteration(id: $id) @include(if: $isIteration) {
    id
    title
    report {
      ...BurnupTimeboxReport
    }
  }
}
