Forums

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

JQL - Epics in Jira whose Epic-Story Link is from a specific project

Maxim Alter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 12, 2021

I would like to find all epics that have "Issues in Epic" from a specific Project.

Current JQL:

project = FOO AND issuetype = Epic AND key in (FOO-1, FOO-2, FOO-3)

I can add and issueFunction in linkedIssuesOf("project = BAR and issueFunction in hasLinkType('Epic-Story Link')"), but it gives me epics which have other types of linked issues (eg. clones, related ..)

Also attempted:

project = FOO AND issuetype = Epic AND key in (FOO-1, FOO-2, FOO-3) AND issueFunction in linkedIssuesOf("project = BAR AND 'Epic Link' is not EMPTY")

However, I always end up with issues that have multiple types of `Issue Links` (parent task, related to, tested by), and `Issues in Epic` from project BAZ (not BAR as I want).

Help pls.

Thanks

2 answers

0 votes
Ignacio Pulgar
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.
January 21, 2021

Hi @Maxim Alter ,

Please, try issuesInEpics() instead:

issueFunction in issuesInEpics("key in (FOO-1, FOO-2, FOO-3)")

Hope it helps.

0 votes
Benjamin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2021

Hi @Maxim Alter 

Try using this :

 

Issuefunction in linkedIssuesOf("has Epic")

 

If you want to exclude close issue resolve issues, then use this

 

Issuefunction in linkedIssuesOf("status != Resolved", "has Epic")

 

Hope this helps.

Suggest an answer

Log in or Sign up to answer