Forums

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

In search how to obtain results with grouping

John Gething September 18, 2019

If I do a search how can I get results group as per Epic/User story/issue etc ?

 

Thanks

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2019

Hello John,

Welcome to Atlassian Community!

I understand that you would return your issues ordered below their related Epics/parents in a JQL query. Is it correct?

To return issues ordered below their Epics, you can add the following parameter at the end of your query:

ORDER BY "Epic Link" ASC

To group Sub-tasks below parent issues, you can use the following parameter:

ORDER BY rank ASC

P.S: the "ORDER BY rank ASC" only works for projects with a board and must have enabled ranking so sub-tasks are ordered under their parent, as you can see in this documentation.

Let me know if this information helps.

John Gething September 20, 2019

many thanks - but unless I've missed something and yes I'm a newbie you cannot have the both together? how do I return a result that shows the EPIC/ user story  and related child/sub tasks etc - ??

project = NAME  ORDER BY "Epic Link" ASC

project = "NAME  " ORDER BY "Epic Link" ASC AND ORDER BY Rank ASC ?? how do I get the two to work?

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2019

Hello John, 

You could use the following query:

ORDER BY "Epic Link" ASC, BY rank ASC

However, since sub-tasks can be directly linked to Epics and the rank is generated also for Epics added in the boards, I agree with you that it would not provide you with very precise information.

Due to these variables, I believe it is not possible to group them in a sequential way (EPIC > Story > Sub-task), however, we have a feature request opened about this:

Sort Issue Navigator by parent-children pairs

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

Please, let me know if you still have any questions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events