Hello,
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?
If you can get make a call to the ParentEpic field, that should pull in the Epic for the Parent Task.
Yeah that might work. But I don't want to make an extra call to get Epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.