Previously, we could use the API /rest/agile/1.0/parent/search? to get all the "Epic" of a Jira instance. However, now that Jira has replaced "Epic" with "Parent", is there a corresponding API that we can use to get all the parents of an instance?
Hi Vlim.
It looks like you are referring the parents configured in your issue hierarchy in your instance.
I'm not sure if the is an API, that I just haven't explored yet, but a alternative could be to use the search api.
Then you could reference all your parent issuetype in a JQL, something like: type in (Epic,ParentType1,ParentType2)
And then the api request would look something like:
/rest/api/2/search?jql=type%20in%20(Epic%2CParentType1%2CParentType2)
Let me know if i misunderstood your question :-)
Regards
Manne
Hi Vlim.
I guess you are referring the parents in the issue hierarchy configured in you instance.
The might be API that I haven't explored yet.
But could a alternative be to use the search api where you define which Issue types to get with jql. So you define all the issue types that is configured as parents in your instance.
The JQL could be like:
type in (Epic,ParentType1,ParentType2)
And with the jql put into the api call it would be something like:
rest/api/2/search?jql=type%20in%20(Epic%2CParentType1%2CParentType2)
Let me know if i interpreted, your question wrong :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Manne Kjærby - ProProces
Thank you for your help.
JQL (Jira Query Language) cannot perform fuzzy searches.
It only supports precise searches by issue key and searches for words within the summary, which do not yield results consistent with the parent issue search functionality when creating issues on the Jira web interface.
Therefore, I am unsure how to proceed.
Thank you once again for your assistance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.