I am using "Get Issue" API: https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-issueIdOrKey-get, to get details of a "sub task".
But I want to fetch "Epic" of the Parent task, in the same API.
How can I get it?
I'm not sure if this is the only way, but you could query the same endpoint using the fields.parent.key value from the first call. The response would be the sub-task's parent details. From there you would get the Epic key by looking at the fields.customfield_10008 value.
Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...
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