Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Dynamic filtering off of a saved filter's Results

Hello, 

I have a simple JQL query that pulls in Open epics which have WSJF value set.

Filter123456: Resolution = unresolved AND Type = Epic AND WSJF Is Not Empty

This filter is used to create my Planning board.

 

For my development board I want to create a query that pulls all the child issues of all the epics that are returned in that filter 

Something like:

key in ChildIssuesOf("Filter123456")

This way my development board is dynamic and adjusts to reflect the work that is planned.
Is there another way to do this as clearly this exact JQL doesn't work?

2 answers

1 accepted

Hi @Michael Smith

You can also check if ScriptRunner add-on is installed (it's very often installed, too). You can check the presence if issueFunction is available in JQL). With this add-on, you can use this:

issueFunction in issuesInEpics('Resolution = unresolved AND Type = Epic AND WSJF Is Not Empty')

Kind Regards
Utkarsh

Turns out ScripRunner add-on is installed, I didn't know that! so learning that and you providing this sample JQL has solved my problem. Thank you so much for taking the time to share!

0 votes
Pramodh M Community Leader Jan 06, 2022

Hi @Michael Smith 

Welcome to the Community!!

If you need Child issues of Epic, we have JQL 

parentEpic in (EPIC-1, EPIC-2)

This will return issues and sub-tasks that are linked to an epic.

Thanks,
Pramodh

Thank you! this is JQL I've not seen before and could be very useful!

Suggest an answer

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

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

481 views 3 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