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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,001 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot