Forums

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

Dynamically show all the stories (regardless of their project) of my epics in my board

ibokettee September 8, 2023

So I have a project, say A, which has epics AE1, AE2, AE3.

 

I then have stories in other projects, say B & C which have stories BS1, BS2, CS1, and CS2.

 

BS1, BS2, CS1, and CS2 all belong to AE1 epic.

 

Now on my project A board, I want the four stories to show, as well as other stories in other projects that have epics in Project A.

 

Now I know how to modify the filter query if it was just one epic: project = A OR "Epic Link" = AE1

But how can I do this dynamically such that whenever I add a new epic i don't need to go back to edit the filter query to include the new epic? Basically how can i write the query to accommodate any other story that I will create in the future who has an epic in my current project

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.
September 8, 2023

Hi @ibokettee 

I’m Maurício, a support engineer at Appfire and I’m here to help you.

Unfortunately, using JQL of Jira, 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 find all your stories from any project that are children from epics of project A.

issue in childrenOfEpicsInQuery("project = a") and type = Story

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

We’ll be happy to help you!
Best regards,
Maurício

0 votes
Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 8, 2023

Hi, @ibokettee 

It's not an easy task without additional plugin, like ScriptRunner (with advanced JQL functions). 

Built-in JQL functions doesn't allow subqueries, like "show me all tasks, where epic in (list of epics in project A)". With built-in you can use only "parentEpic = AE1 OR parentEpic = AE2..."

ibokettee September 8, 2023

Ouch! okay thanks. Was wondering if there was a way I could say "parentEpic" in current project or something like that, but I doubt...right?

Evgenii
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 8, 2023

Yes, it's a pity, but not with built-in JQL (

I used very ugly workaround for similar task - I created scheduled automation rule, which looked for epics in project, then looked for issues in epics, and then assigned label, like "issueInEpic". 
And then I made simple JQL, like label in ("issueInEpic"). It showed me all required tasks.

But it's very bad solution, it's better to use additiona plugins, which add advanced JQL functions.

Suggest an answer

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

Atlassian Community Events