-
Suggestion
-
Resolution: Unresolved
-
None
-
12
-
17
-
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Hi everyone,
Thanks for voting and commenting on this issue. Your feedback is key to helping us understand how you use JIRA so we can continue improving your experience. We have reviewed this issue over the last few days; however there are not currently any plans to implement this suggestion.
Please remember that jira.atlassian.com is one of many inputs for the JIRA roadmap. You can learn more about our process here.
I understand that our decision may be disappointing. Please don't hesitate to contact me if you have any questions.
Regards,
Daniel Franz
dfranz@atlassian.com
Principal Product Manager, JIRA Platform
Summary
Since sub-tasks are directly related to their parents, those should be displayed in hierarchic order on the Issue Navigator. Something similar is already applied on Agile boards, for example.
Workaround
It's possible to use the Script Runner plug-in to achieve this by adding a Scripted Field to the sub-tasks, storing the Parent Issue's key.
Here's the script:
import com.atlassian.jira.issue.Issue; Issue parentIssue = issue.getParentObject(); def parentIssueKey, issueKey; if (parentIssue != null) { parentIssueKey = parentIssue.getKey(); return parentIssueKey; } else { issueKey = issue.getKey(); return issueKey; }
And here's the JQL operand you should append to filters for this ordering to be applied:
ORDER BY "Parent Issue Key" ASC, key ASC
Please note that Atlassian does not provide any kind of support to third-party add-ons or scripting of any kind, so we cannot guarantee any further assistance or maintenance on this script.
- is related to
-
JRASERVER-6493 Appearance of subtasks in a list of issues is confusing
- Closed
- relates to
-
JRASERVER-24648 JQL query to return certain issues and (only) THEIR children. (Make the argument of JQL operator "IN" able to be an evaluated expression.)
- Closed
-
JRACLOUD-9197 Sort Issue Navigator by parent-children pairs / nesting in search results
- Gathering Interest