Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to fetch SPRINT and Epic for a given JIRA ISSUE

Sai Avinash Duddupudi September 16, 2021

API Used - https://company.atlassian.net/rest/api/3/issue/ABC-1765

 

For a given JIRA Ticket ID, using the above REST API I am currently able to fetch metadata details like summary, assignee, labels etc....

 

However, I am not able to find assigned SPRINT and EPIC in the above API response.

Please suggest a workaround in order to fetch epic and sprint for a given JIRA ISSUE/TICKET_ID.

Thank You!

2 answers

1 vote
Ajay _view26_
Community Champion
September 17, 2021

Hi @Sai Avinash Duddupudi 

You are looking into Jira Core APIs. For accessing Sprint specific information refer to the Jira Software REST API documentation 

Refer API documentation for - GET /rest/agile/1.0/sprint/{sprintId}/issue

 

Cheers

Ajay

Sai Avinash Duddupudi September 17, 2021

@Ajay _view26_  Thanks for the reply. 

In my case, i have only issue id(ABC-1765) and I want to know the assigned sprint for this issue ABC-1765

0 votes
Oliver Siebenmarck _Polymetis Apps_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2021

Hi @Sai Avinash Duddupudi ,

I guess the easiest way to get to information about Sprint, Epic etc would be to use Jira expressions which have their own endpoint. 

The way it works is that you post the Issue key and an expression to the endpoint and get a result. Simplest expression could be something like this:

issue.sprint

You can read up about  Jira expressions here  

hope that helps,

Oliver

Suggest an answer

Log in or Sign up to answer