Greenhopper / RapidBoard Rest API Calls to retrieve StartDate/EndDate

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

This widget could not be displayed.

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

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

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

204 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you