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

How to write JQL to show all Children Stories/Tasks of Epics that are "IN PROGRESS"

We are looking to create a board that shows the following

- Each swim lane is an in progress epic

- Within each swim lane the respective stories/tasks for the epic are shown 

- Each column represents the status in the workflow of the stories/tasks

 

To do so, we will base the board off of an advanced query result. The issue is that we can't seem to filter for stories/tasks for EPICs that are in progress. In other words we want to query for 

project = PRODUCT AND issuetype in (Epic, Story) AND issueEpicStatus = "IN PROGRESS" order by created DESC

This of course fake query to convey the concept. But we can't seem to get data from the parent epic in the query of the issues. Does anybody have any suggestions here? The "EpicStatus" fields doesn't seem to work because it only works if you are querying for epics and not issues. 

1 answer

Do you have any third party apps that extend the JQL functionality, or are you open to getting such?

You cannot do what you want with native Jira functionality. You would need something like

(project=X and issuetype=Epic and EpicStatus="in Progress") or (project=x and "Epic Link" in ( (project=X and issuetype=Epic and EpicStatus="in Progress") )

An app that supports using sub-filters could assist with your query. Jira doesn't natively do that. Adaptavist Scriptrunner is one such app, but I know there are others. If you go to the marketplace and search for "jira jql extensions" that should give you options to investigate.

Thank you Trudy! 

Suggest an answer

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

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

831 views 25 28
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