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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

184 views 1 11
Read article

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