Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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.

0 votes
Ignacio Pulgar Community Leader Jan 21, 2021

Hi @Maxim Alter ,

Please, try issuesInEpics() instead:

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

Hope it helps.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you