Skip to content

Commit 86c4ed9

Browse files
authored
fix: issue story points dashboard (#6866)
1 parent b949612 commit 86c4ed9

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

grafana/dashboards/EngineeringThroughputAndCycleTime.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"editable": true,
1919
"fiscalYearStartMonth": 0,
2020
"graphTooltip": 0,
21-
"id": 17,
21+
"id": 20,
2222
"links": [],
2323
"liveNow": false,
2424
"panels": [
@@ -351,7 +351,6 @@
351351
"pluginVersion": "8.0.6",
352352
"targets": [
353353
{
354-
355354
"format": "table",
356355
"group": [],
357356
"hide": false,
@@ -477,7 +476,7 @@
477476
"hide": false,
478477
"metricColumn": "none",
479478
"rawQuery": true,
480-
"rawSql": "SELECT\n DATE_ADD(date(i.resolution_date), INTERVAL -$interval(date(i.resolution_date))+1 DAY) as time,\n sum(case when i.status = 'DONE' then i.story_point else 0 end) as 'Story Points Completed',\n i.id\nFROM issues i\n\tjoin board_issues bi on i.id = bi.issue_id\n\tjoin boards b on bi.board_id = b.id\n\tjoin project_mapping pm on b.id = pm.row_id\nWHERE\n $__timeFilter(i.resolution_date)\n and pm.project_name in ($project)\ngroup by 1,3\norder by 1",
479+
"rawSql": "SELECT\n DATE_ADD(date(i.resolution_date), INTERVAL -$interval(date(i.resolution_date))+1 DAY) as time,\n sum(case when i.status = 'DONE' then i.story_point else 0 end) as 'Story Points Completed'\nFROM (\n SELECT DISTINCT i.id, i.resolution_date, i.status, i.story_point\n FROM issues i\n join board_issues bi on i.id = bi.issue_id\n join boards b on bi.board_id = b.id\n join project_mapping pm on b.id = pm.row_id\n WHERE\n $__timeFilter(i.resolution_date)\n and pm.project_name in ($project)\n) as i\ngroup by 1\norder by 1",
481480
"refId": "A",
482481
"select": [
483482
[
@@ -1873,6 +1872,6 @@
18731872
"timezone": "",
18741873
"title": "Engineering Throughput and Cycle Time",
18751874
"uid": "Jaaimc67k",
1876-
"version": 3,
1875+
"version": 1,
18771876
"weekStart": ""
18781877
}

0 commit comments

Comments
 (0)