Hello,
It is not possible to pull a report, if it is not supported by the developer. You can not pull the Sprint Report. You would need to pull issues, history and create the Sprint report yourself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am planning to create a Jira dashboard with few reports like "Created vs Resolved report". Can I pull this dashboard using rest api.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't. All out of the box reports can not be pulled out by rest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexy. Would you be able to tell me which API endpoints to use to build a sprint report. I want to gather the sprint report metrics and import them to another app my company is creating.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/rest/greenhopper/latest/rapid/charts/sprintreport?rapidViewId=(boardId)&sprintId=(sprintId)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexey Matveev , it is possible.
String requestUrl = baseUrl + "/rest/greenhopper/latest/rapid/charts/sprintreport?rapidViewId=" + boardId + "&sprintId=" + sprintId;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is there any API Available to pull all the sprint reports of a team in a project without using sprintId,rapidViewId
can we pull the jira reports based on project alone without using SprintId,rapidViewId?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can call the Get all boards API and pass in a projectKeyOrId parameter.
/rest/agile/1.0/board?projectKeyOrId={projectKeyOrId}
Loop through the results of that and call Get all sprints for each Board:
/rest/agile/1.0/board/{boardId}/sprint
You can then call the Sprint Report for each Sprint.
/rest/greenhopper/latest/rapid/charts/sprintreport?rapidViewId={boardId}&sprintId={sprintId}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks but projectKey/projectId filter is not working even though I give it correctly.Its returnig me all the available jira boards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See this answer to a similar question: https://community.atlassian.com/t5/Answers-Developer-Questions/Sprint-Velocity-using-Jira-Agile-REST-API/qaq-p/539237#M76894
TL;DR: It's possible, but not documented. You'll have to find the REST-URL manually by creating the report and watching the requests in your browser's devtools.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.