Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira 7 Cloud REST Api for Detailed Sprint Report -- prior answers not working

Bill Milligan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2019

Yes, there are prior answers on the board to this question but they don't seem to work anymore.  At least not for me.

 

I need to get a detailed sprint report including added, punted items etc.  I am using the url:

 

/rest/greenhopper/latest/rapid/charts/sprintreport?rapidView=25&sprintId=39

 

I can confirm that the rapidView id is in fact 25 and the sprintId I need is in fact 39, though I have tried other boards and sprints with the same result:

 

{"errorMessages":[],"errors":{"rapidViewId":"The requested board cannot be viewed because it either does not exist or you do not have permission to view it."}}

 

I am a site admin and this is my board.  I know I have the permissions.


These following URLs *do* work and do give me meaningful responses (including the fact that board id 25 does in fact exist as does sprint id 39):

/rest/greenhopper/latest/rapidviews/list

/rest/agile/1.0/board/25/sprint

 

1 answer

1 accepted

1 vote
Answer accepted
Bill Milligan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 21, 2019

 

Nevermind, I found the issue.  The correct param is "rapidViewId", not "rapidView".

/rest/greenhopper/latest/rapid/charts/sprintreport?rapidViewId=25&sprintId=39

not

/rest/greenhopper/latest/rapid/charts/sprintreport?rapidView=25&sprintId=39

 

Critique:  That's not a very helpful error message.  And why isn't this function *still* not documented properly?  Looks like it's been around for years...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events