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 use JQL to order a project by issuetype, status within epics?

Gary Darer Oct 02, 2017

This is sort of abstract as I'm trying to solve a rather specific problem for my QA team.

We have a Jira project for the product our company is working on and within that project are multiple epics > stories > bugs, etc.

The triage team is looking for a JQL filter preferably expressed as a pie chart that is ordered by Epics where if they click on an epic, the search results would show all of the issues in that epic ordered first by the Stories, then the bugs and other issue types.

They also want to know if it's possible to go another level deeper and organize each issue type by the status of those issues.

Ex: Epic "ABC" displays stories "1", "2", "3", where "1" is Open, "2" is in progress, and "3" is closed. Followed by bugs "a", "b", "c", "d", where "a" & "b" are open, "c" is in test ready, and "d" is closed.

I obviously cannot share my current attempt at a filter due to propriety of information but any hints would be SUPER appreciated!

1 answer

1 vote
Cristian Rosas [Tecnofor] Community Leader Oct 03, 2017 • edited

Hi Gary,

Be careful with language (in my case is "Enlace de épica" in)

epic link in (Ex-101,Am-102,Ple-103) AND status in (open, in progress, closed) ORDER BY status

This will show you the issues in those epics and in these statuses.

Also remember to use epic link as statistic type.

Gary Darer Oct 03, 2017

This could help a lot, I'll try it out. Thank you!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

8,148 views 25 36
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