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!
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
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.