Sprint Burndown Chart Information Unable to Load Under Insights in Jira board
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
For example, the Sprint burndown chart information under the Insights report Jira board
Error: We couldn't load these details. Try refreshing and if that doesn't fix it contact support.
Diagnosis
How to review
Review if the Board ID is present, you can use rest API Get sprint
End point: GET https://your-domain.atlassian.net/rest/agile/1.0/sprint/{sprintID}
Hint, you can use the endpoint directly on the browser
Expected result if there is the board ID
1
{"id":5,"self":"https://your-domain.atlassian/rest/agile/1.0/sprint/5","state":"future","name":"SDT Sprint 1","createdDate":"2023-08-16T11:23:25.298Z","originBoardId":16}
OriginBoardID is missing like in the example below
1
{"id":5,"self":"https://your-domain.atlassian//rest/agile/1.0/sprint/5","state":"future","name":"SDT Sprint 1","createdDate":"2023-08-16T11:23:25.298Z"}
How to retrieve the Sprint ID?
Identify the sprint ID by typing the sprint name in the JQL search. The autocomplete will return the Sprints that match the entered name and also include the Sprint ID.
For example, searching for the ID of a sprint named "SDT Sprint." Start typing "Sprint = SDT" the dropdown should show you something like "SDT Sprint (5)." 5 is the ID of this sprint.
Cause
When sprint is missing the origin board id, can cause anomaly on some functionality on Insights report Jira board
This typically happens when the board where there was an issue in the sprint has been deleted, and an example to replicate
Initiate and launch a sprint on Board A, and add an issue from Board B to this sprint (Sprint in Board A).
The Sprint burndown details can also be viewed under the Insights feature on Board B.
Remove Board A.
Solution
The Sprint orphan of the board ID needs to be mapped, to figure out the board ID you can go to “Active Sprint” and take a look at the URL - In the example URL below board ID is 32:
...net/jira/software/c/projects/TAR2/boards/
32
?|sInsightsOpen=true"
To Update the board ID on the sprint this rest API Partially update sprint.
Endpoint: POST https://your-domain.atlassian.net/rest/agile/1.0/sprint/{sprintID}
Explain under diagnosis above how to retrieve the sprint ID
Payload
1
2
3
4
5
{
"originBoardId": 32
}
Curl command line
1
2
3
4
5
6
7
8
9
10
11
12
13
curl -X POST \
-H "Content-Type: application/json" \
-u your-email@example.com:your-api-token \
--data '{
"originBoardId": 32
}' \
"https://your-domain.atlassian.net/rest/agile/1.0/sprint/{sprintID}"
Was this helpful?