Commit aa02d303 authored by Simon Knox's avatar Simon Knox

Move burnup graphql data to new format

It now lives inside report
parent 0f2a22e7
......@@ -64,7 +64,7 @@ export default {
};
},
update(data) {
const sparseBurnupData = data?.[this.parent]?.burnupTimeSeries || [];
const sparseBurnupData = data?.[this.parent]?.report.burnupTimeSeries || [];
return this.padSparseBurnupData(sparseBurnupData);
},
......
......@@ -2,23 +2,27 @@ query IterationBurnupTimesSeriesData($id: ID!, $isIteration: Boolean = false) {
milestone(id: $id) @skip(if: $isIteration) {
title
id
burnupTimeSeries {
date
scopeCount
scopeWeight
completedCount
completedWeight
report {
burnupTimeSeries {
date
scopeCount
scopeWeight
completedCount
completedWeight
}
}
}
iteration(id: $id) @include(if: $isIteration) {
title
id
burnupTimeSeries {
date
scopeCount
scopeWeight
completedCount
completedWeight
report {
burnupTimeSeries {
date
scopeCount
scopeWeight
completedCount
completedWeight
}
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment