Greenhopper / RapidBoard Rest API Calls to retrieve StartDate/EndDate

Derek Parker
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!
November 11, 2012

The Classic GreenHopper burndown chart StartDate/EndDate could be found using this call :

{JIRA_HOST}/rest/greenhopper/latest/chartdata/generate-hourburndown.json?projectKey={0}&versions={1}&contexts=2.gh.boards.defaultctx&chartType=gh.chart.ahourburndown

It would produce structured data. As part of that data there would be a legend. Each element in the legend would be a day and each had a java timestamp. The first element would be the StartDate and the last would be your EndDate.

Is there a similar Rest call to retrieve the data on the RapidBoard? I've found the following calls useful, but they don't give me the data I'm actually looking for.

//Get a list of rapidview project ids
{JIRA_HOST}/rest/greenhopper/1.0/rapidviews/list
//Get a list of sprints in the project
{JIRA_HOST}/rest/greenhopper/1.0/sprints/{RapidViewID}

Seems like there should be another API call after that one to give me issues in the sprint and sprint details, but if there is I can't seem to find it.

1 answer

1 accepted

1 vote
Answer accepted
Remko Funda
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!
January 7, 2013

I found a startDate and endDate using the following call:

{JIRA_HOST}/rest/greenhopper/1.0/xboard/work/allData/?rapidViewId={rapidViewId}

the result contains a key called 'sprintsData' you can find startDate nd endDate there

Derek Parker
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!
January 7, 2013

Thank you! This is exactly what I needed. I appreciate your time.

Jamie Cole December 22, 2016

Can someone please help on this command, I'm trying to run by getting page not found.

 

Suggest an answer

Log in or Sign up to answer