Forums

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

JQL for Issues in project (x) that have an epic link that is not in project (y)

Robb F Watkins July 28, 2022

Looking to identify issues in project x that DO NOT have epic links from epics in project y 

2 answers

0 votes
mauricio.groth
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 29, 2022

Hi @Robb F Watkins 

As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.

With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.

Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions

 You can use this query to find all your issues in project x that DO NOT have epic links from epics in project y 

issue in linkedIssuesOfQuery("type=Epic and project != y") and project = x

Check out the documentation for more examples.
I hope this helps!
Maurício

Robb F Watkins July 29, 2022

Thanks I am looking at the app now.

0 votes
Jack Brickey
Community Champion
July 28, 2022

Hi @Robb F Watkins , you can't do this with OOTB JQL. You might consider an addon app like Scriptrunner.

Robb F Watkins July 28, 2022

Thanks for the response.  So we have Script Runner advanced search - just working out the query to return what I want.

Jack Brickey
Community Champion
July 28, 2022

Cool. I think it should be achievable with Scriptrunner. If/when you find a solution please post here.

Robb F Watkins July 29, 2022

One of the Expium Rockstars helped us with this ScriptRunner Advanced Search

issueFunction in epicsOf("project in (FOO, FAD, FOP)") AND Project not in (AKA, LOB)  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events