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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

202 views 1 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