Why /rest/greenhopper/1.0/sprint/{sprintId} should use PUT?

we are try to using the REST API to get some information from our system.

i found the document for REST API of greenhopper from here

https://jira.atlassian.com/plugins/servlet/restbrowser#/com-pyxis-greenhopper-jira-greenhopper-rest-filter

but when i want to use /rest/greenhopper/1.0/sprint/{sprintId} to get the sprint information, i found out that it requires PUT to get the information.

Why we use PUT here instead of GET, if i want to get the sprint information (like, start-date, end-date), is there any other option i have?

1 answer

1 accepted

Hi Jonny,

You can also find GreenHopper API documenation on Atlassian Developers.

You can use GET on /sprints/{rapidViewId} to get the current state of a sprint and the list of sprints that have been started and completed in the past.

At present the Sprints in planning do not have start and end dates assocaiated with them until the sprint has been started (ie, when they are in the backlog they are just markers). We are looking to change this behaviour in the future to better accommodate your API request.

Thank you Jonny.

Regards,
Nicholas Muldoon
@GreenHopperTeam

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 yesterday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

77 views 2 6
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