Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

order by rank not working as intended in next-gen projects

We have a next-gen project with all features enabled (roadmap, backlog, sprints etc). We have created a query to enable team members to see all open items in the sprint assigned to them and we want to group sub tasks under their parent.

The standard way to do this seems to use order by rank however this does not work in a next gen project. The expect result is for sub tasks to appear under their parent (story, sub-task, subtask followed by the next story, sub-task, sub-task etc.) What actually happens is that all stories appear then all sub-tasks.

Is there a way to group subtasks by their parent in a next-gen project? here is the JQL: 

project = xyz AND assignee = currentUser() AND resolution = Unresolved order by rank ASC


2 answers

1 accepted

0 votes
Answer accepted
project = xyz AND assignee = currentUser() AND resolution = Unresolved order by parent, rank ASC

Try that @John H - I added parent into the ordering 

0 votes

Hi @John H 

Have you tried grouping issues by Subtask as shown below:


Screen Shot 2020-01-15 at 11.15.25 am.png

Hi Lenin and thanks for taking the time to answer my question! 

Unfortunately the query is in JQL as we are using it in confluence (and other pages) and GROUP BY is not supported in jira JQL statements :(

Thanks for the idea though :)

In addition, if I use the next-gen UI and group by sub task then tasks are shown for the entire team. What my team are trying to acheive is a view where they can see all stories/bugs/sub-tasks  assigned to them and group them by sub-task.

Any suggestions??


I think the "Assignee" filter should do the job for that:


Screen Shot 2020-01-16 at 9.35.32 am.png

Like Eoin likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events