Forums

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

In backlog, how can I filter tasks associated to an epic in another project

Greg Encke
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!
March 27, 2024

I'm new and haven't found an answer that matches what I'm looking for.  In our backlog, we have epics in our project and link tasks to them.  This works great with the epic filter.  However, if a task is linked to an epic from another project, I can't use the epic filter in the backlog.  Is there a board setting that needs to be changed to accomplish this?

 

Thanks

 

3 answers

2 votes
Trudy Claspill
Community Champion
March 27, 2024

Hello @Greg Encke 

Welcome to the Atlassian community.

An alternative to the suggestion from @Gustav Lindskog is to create Quick Filters that select issues based on JQL; i.e.

parent=<Epic issue key of an Epic in the other project>

You would need to create a Quick Filter for each of the Epics in the other project with each Quick Filter explicitly including the issue key for one of those Epics.

 

If you want to follow Gustav's suggestion and modify the board's filter, and you want to include only the Epics from the other project, then you would want something like this:

project="Project A" or (project="Project B" and issueType=Epic)

Note that would bring in all the Epics from Project B, not just the ones that are parents of issues in Project A.

If you wanted to constrain the Project B Epics included in the board to only those that are parents of issues in Project A, that would take a more complex filter.

Greg Encke
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!
March 27, 2024

The last paragraph is what I was looking for.  Didn't realize it would be so difficult to do.  Thanks all for the suggestions, I really appreciate it.

Like Gustav Lindskog likes this
Trudy Claspill
Community Champion
March 27, 2024

If you wanted to constrain the Project B Epics included in the board to only those that are parents of issues in Project A, that would take a more complex filter.

In this case what you would want, effectively, is

project="Project A" or (project="Project B" and issue in ParentEpicsOf("project='Project A'"))

("ParentEpicsOf" is a made up JQL function name, not an actual JQL function.)

You would want to select the Project B Epics based on a filter applied to Project A issues. Jira doesn't natively support that. There are third party apps that extend JQL capabilities that provide functions like that. Adaptavist Enhanced Search is one such app, but there are others. Here is a search of the Atlassian Marketplace for apps that enhance JQL. You would need to check their documentation to see if they provide an extension that would meet your need.

https://marketplace.atlassian.com/search?hosting=cloud&product=jira&query=jql

Trudy Claspill
Community Champion
August 13, 2024

Hello @Greg Encke 

Did you find an acceptable solution from the answers we provided? If so, please consider clicking the Accept Answer button above the relevant answer, which will also mark your post as Solved.

If you have additional questions on this topic, please let us know.

0 votes
Charlotte Santos -Appfire-
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.
March 28, 2024

Hi @Greg Encke 

I’m Charlotte, a support engineer at Appfire and I’m here to help you.

Unfortunately, natively, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to get all the tasks from one project that are linked to epics from another project:

issue in linkedIssuesOfQuery("project=DEF AND type=Epic") AND project = ABC AND type = Task

Please contact our support if you have any other questions about this query.

We’ll be happy to help you!

0 votes
Gustav Lindskog March 27, 2024

Hey Greg,

Happy to have you here in the Atlassian Community!

So, to my understanding, you have a project we call "Project A".
You want to filter in Epics from another project, called "Project B".
For you to be able to see those Epics (or any other issue type for that matter) you need to include the other issues in the Board filter of the board that you are working in.

To change the board filter (based on JQL) you need to either have Board Admin or Administrator permission (as per Standard configurations).

The filter should look something like this:

"project in ("Project A","Project B")"

Mind you, this will bring in ALL issues from both Project A and B. But this way you can experiment a bit with what you bring in to the Board (and backlog) as you like.

Hopefully this explains it, atleast initially :D Let me know if you need further help.

/G

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events