Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How do you filter Tasks that belong in a Jira Project that has an Epic Link to a different Project?

Working with Cross Functional teams, say IT and HR, where each one of us have our own respective Jira Projects. 

Tracking all of my IT Stories/Tasks can easily be found within the IT Epic. And even HR Stories/Tasks show up in the IT epic. 

However, I want to create a filter search where I am able to view all HR issues that have an Epic Link to any Epic in the IT Project. Currently the JQL seems to only allow to search for a specific Epic. Is there any way to make it a blanket statement that essentially tries to search for any Epic Linking to the IT Jira project?

I imagine it would looks something similar to:

project = HR AND issuetype in (Story, Task) AND "Epic Link" = (Project = IT)

2 answers

2 accepted

1 vote
Answer accepted

Hi @Steven Chau 

You'll need an app which can provide more advanced JQL functions - such as Scriptrunner

The reason for this is you need to have a sub-query - to allow you to search for:

  • Main Query: All issues in the HR project that...
  • Sub Query: Have an Epic Link in the IT project

Amanda has offered one method to do this - an alternative based on your query and utilising the app above, would be:

issueFunction in issuesInEpics("project = IT") and project = HR and issuetype in (Story, Task)

And you could also search the other way - for example, looking for Epics in HR which have children in IT:

issueFunction in epicsOf("project = IT") and project = HR

Ste

I see, thanks for the response!

0 votes
Answer accepted

@Steven Chau Do you have add-ons that provide advanced JQL functions?

You can use something like this:

issuefunction in linkedIssuesOf("project = IT and assignee = amanda", "is Epic of") AND project = HR

The first portion of this finds all issues in Epics where the Epic is in project IT and the assignee of the Epic is amanda.

The second portion then further refines that list of issues to only return issues in HR

What would result is any HR issues that are linked to Epics in IT assigned to amanda.

I hope this gives you an idea of what you could do with the above type of query!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

196 views 6 7
Read article

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