Skip to content

Commit 0d7a27e

Browse files
fix: issue story points dashboard (#6866) (#6868)
Co-authored-by: abeizn <zikuan.an@merico.dev>
1 parent b1a895b commit 0d7a27e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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": [
@@ -336,7 +336,6 @@
336336
"pluginVersion": "9.5.15",
337337
"targets": [
338338
{
339-
340339
"format": "table",
341340
"group": [],
342341
"hide": false,
@@ -455,7 +454,7 @@
455454
"hide": false,
456455
"metricColumn": "none",
457456
"rawQuery": true,
458-
"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",
457+
"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",
459458
"refId": "A",
460459
"select": [
461460
[
@@ -1788,6 +1787,6 @@
17881787
"timezone": "",
17891788
"title": "Engineering Throughput and Cycle Time",
17901789
"uid": "Jaaimc67k",
1791-
"version": 3,
1790+
"version": 1,
17921791
"weekStart": ""
17931792
}

0 commit comments

Comments
 (0)