Forums

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

How to retrieve Epic Key, from epics not alocated in my Project area?

erika assis July 2, 2020

Hi comunity!

 

So I have some Issues linked to epics managed by other project area.. When I retrieve the epics being worked in my PA, I only get those under my project, in other hand, when I retrieve the full set of stories with Epic Link, I get the Epic Summary, but not the epic key and other informations.... There is a way for me to get all the info about the epics linked to my issues without having to declare the epic key in the query? 

1 answer

0 votes
Italo Qualisoni [e-Core]
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.
July 2, 2020

Hello Erika,

Welcome to the community!

I would like to help you with your question but I'm afraid that I  did not get what you are looking for.

If I did not understand wrong, you are having issues to create a JQL query, can you please clarify with an example (maybe with a screenshot) ? 

erika assis July 2, 2020

Hi Italo, I can't give you the screenshot but imagine that I would like to have a query like :

Project = " my project" and issuetype = epic

 

And I would Wich that the result would show me, besides my own epics, the epics from other projects, linked to stories in my project. Infos like : project, key, sprints, original estimate etc

Italo Qualisoni [e-Core]
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.
July 2, 2020

Ok! I see that you have marked my first comment as the accepted answer, I think you should mark the comment that resolve your issue with that label;

I did a quick research and it seems that you have 2 options and I'm assuming you are using Cloud since you tagged this as cloud:

1 - You can use parentEpic() JQL keyword which is available in JIRA Cloud (https://jira.atlassian.com/browse/JRACLOUD-59181)  

So your JQL would be something like:

Project = " my project" and issuetype = epic or parentEpic(StoryKey-1,StoryKey-2.....)

 

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/#Advancedsearching-functionsreference-parentepicparentEpic()

2- You can use Scriptrunner app that would allow you to boost your queries see 

https://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html#_epicsof

Using their "Enhanced Search" (this is where you would build the JQL using the app)

project = <ProjectKeyHere> and issuetype = Epic or (issueFunction in epicsOf("project = <ProjectKeyHere>")

 I don't see any other way using the default JQL to achieve what you are looking for and probably there are other tools like Scriptrunner available but this was the first that I could remember now.

Like erika assis likes this

Suggest an answer

Log in or Sign up to answer