Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get all sprints for all projects through JIRA REST API

Hello Team,

                Can you please help me with link to get all sprints for all projects in JIRA Instance. I know we can do it for specific project. But I have a requirement where I need to pull irrespective of project.

 

https://example.com/rest/agile/latest/sprint

The above link gives me error : HTTP ERROR 405

where as the below links works fine where I need to specify specific board id and sprint id

https://example.com/rest/agile/latest/sprint/109

https://example.com/rest/agile/latest/board/139/sprint

 

Thanks in Advance

 

Regards,

Manoj

1 answer

0 votes
brbojorque Community Leader Jan 11, 2020

Hi @Manoj Kumar ,

I think the endpoint you are looking for is 

http://0.0.0.0:8080/rest/greenhopper/1.0/sprint/picker

The result will be something link this.

{
"suggestions": [
{
"name": "Sample Sprint 2",
"id": 1,
"stateKey": "ACTIVE",
"boardName": "SP board",
"date": "2019-12-20T07:34:42Z"
}
],
"allMatches": []
}

One tool that can help you troubleshoot and explore the APIs is the Rest API Browser plugin.

Download it and then access the URL below.

https://marketplace.atlassian.com/apps/1211542/atlassian-rest-api-browser

 

http://0.0.0.0:8080/plugins/servlet/restbrowser#/resource/greenhopper-1-0-sprint-picker

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you