Skip to content

Commit

Permalink
fix: issue story points dashboard (#6866)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeizn authored Jan 24, 2024
1 parent b949612 commit 86c4ed9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions grafana/dashboards/EngineeringThroughputAndCycleTime.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 17,
"id": 20,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -351,7 +351,6 @@
"pluginVersion": "8.0.6",
"targets": [
{

"format": "table",
"group": [],
"hide": false,
Expand Down Expand Up @@ -477,7 +476,7 @@
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"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",
"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",
"refId": "A",
"select": [
[
Expand Down Expand Up @@ -1873,6 +1872,6 @@
"timezone": "",
"title": "Engineering Throughput and Cycle Time",
"uid": "Jaaimc67k",
"version": 3,
"version": 1,
"weekStart": ""
}

0 comments on commit 86c4ed9

Please sign in to comment.