Simple query to get a start date & end date sprint

dyah_yuniati March 30, 2020

 

Dear Community,

Would you mind to give me a simple script to get a start date & and date sprint?

A script that I can understand easly

 

Thanks a lot

Dyah

 

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 31, 2020

Hello @dyah_yuniati

Welcome to Atlassian Community!

The information about any resource in Jira Cloud can be collected directly in the background (Like a Script) by using Jira REST API:

JIRA REST API - Sprints 

Basically, you can return your Sprint details (Including the Start and end Date) by using the query below, replacing "yourdomain" with the current domain of your Cloud site and "{SprintID}" with the id of your Sprint that you can find by checking in your URL when navigating to your Sprint view:

https://yourdomain.atlassian.net/rest/agile/1.0/sprint/{SprintID}

Screen Shot 2020-03-31 at 17.07.03.png

You can run the query above directly in your browser or in any script to return your Sprint details.

Please, take a look at the documentation provided to have more details about REST API and let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer