Project

General

Profile

Actions

Feature #7907

open

Display Issues in a hierarchy (tree)

Feature #7907: Display Issues in a hierarchy (tree)

Added by Wael Nasreddine over 15 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Resolution:

Description

Hello,

We have setup issues and child issues, for example, to complete a big task, we divide it into many small tasks, the parent task being the big one.

However the view on the issues page is not very informing even with the column parent task activated, what would be interesting is having a tree-like representation of the tasks.

is this possible?

Regards,
Wael Nasreddine


Related issues 8 (4 open — 4 closed)

Related to Redmine - Feature #6116: Group sub-tasks with parent on issue listNewActions
Related to Redmine - Defect #10048: Secondary sorting after sorting by parent taskNewActions
Related to Redmine - Feature #5275: Show tree of issues instead of a list in RoadmapNewActions
Related to Redmine - Defect #6320: Subtasks do not appear under parent task in Issues viewNewActions
Has duplicate Redmine - Feature #10296: parent-child relation in issue listClosedActions
Has duplicate Redmine - Defect #7417: parent issue display problemClosedActions
Has duplicate Redmine - Defect #12648: Multiple levels of nested subtasks not displayed correctly in issue listClosedActions
Has duplicate Redmine - Defect #20099: subtask can't listed under the father issueClosedActions

Updated by Sergey Ratz over 15 years ago Actions #1

You can find similar feature request #7690, which is closed but I don't know why.
Obviously, this feature is extremely necessary.

Updated by Jean-Philippe Lang over 15 years ago Actions #2

Try to sort the list by parent task. You should get the tree.

Updated by Ruedi Silvestri about 15 years ago Actions #3

+1 would be extremely helpful. Sorting does not really help as you do not see the parent next to the child. Further in case you have more than one layer of hierarchy sorting doesn't work anymore at all.

Updated by Oleg Chunikhin about 15 years ago Actions #4

+1 I agree, we need this feature too

Updated by Mario Hoberg about 15 years ago Actions #5

+1 When sorting the list by parent task and then by due date, the due date sort order is ignored.

Updated by György Kiss almost 15 years ago Actions #6

I would love this feature too !

Updated by K. Scott Tripp almost 15 years ago Actions #7

+1 This would be extremely useful.

Without it larger projects that need formal requirements tracking would depend on systems like DOORS or CRADLE,
which is unfortunate because has the core functionality needed to replace them.

Updated by K. Scott Tripp almost 15 years ago Actions #8

My bad for double post, but I can't seem to edit my own posts.
I meant to say

...unfortunate because redmine has the core functionality...

Updated by Sang-jae Shin almost 15 years ago Actions #9

+1 I want it!

Updated by Daniel Albuschat almost 15 years ago Actions #10

+1
For me, this is a big issue, too.
IMHO, the logic of the issue list should be changed to behave like this:

UI changes:
  • Add a checkbox whether the changes described here should be applied, named something like "Show subtasks in tree view" (even without sorting by parent task). Default: Yes
  • Add a checkbox whether the filter criteria should be applied to subtasks, too. It is surely not uncommon that you would like to filter parent tasks by priority, for example, but have all subtasks of these filtered tasks visible. Sometimes, however, you probably just want to see subtasks with the same, filtered priority.
Logic changes:
  • Change the issue list to filter only parent tasks.
  • For each parent tasks, filter the corresponding subtasks and display them below (and indented to) the parent task
  • The same procedure is done recursively for the subtasks' subtasks, too.

Optimizations:
There are two ways to avoid multiple database queries for each parent task:
a) select a field has_subtasks as "case when exists (select * from issues subissue where subissue.parent_id=issue.parent_id) then 1 else 0 end as has_subtasks". With this, you can check whether you need to query for subtasks at all without executing another query.
b) Add a field "has_subtasks" in the table issues that is automatically updated by a trigger when a subtask has been added or removed (this makes updating a little bit slower, but selecting the issues much faster - especially for lists without or with a only a few subtasks)

What do you think, Jean-Philippe Lang?
Since this is a big issue for me (I just introduced Redmine in our company), I'd even try to implement this.

Updated by Stéphane Thomas over 14 years ago Actions #11

+1

Updated by Vitaly Klimov over 14 years ago Actions #12

Please check my plugin - it solves this behavior:

http://www.redmine.org/plugins/redmine_smart_issues_sort

Updated by Dipan Mehta over 13 years ago Actions #13

+1. This is very important. Can we have it in 2.4?

Updated by Anton Potapov over 13 years ago Actions #14

+1 vote for it

Updated by Mikhail Pirogkov over 13 years ago Actions #15

Our teams vote too. This feature can give us possibility to avoid using external reqs management tools.

Updated by @ go2null over 13 years ago Actions #16

+1.
We are using Vitaly Klimov Smart Sort plugin, but would like to reduce dependencies.

Updated by Pavel Z about 13 years ago Actions #17

+1.
... Smart Sort plugin crashed on Redmine 2.3.2 (ruby 1.9.3)

Updated by Anonymous about 13 years ago Actions #18

+1 because sorting via the additional parent item column steals available monitor space.

Updated by Sergiy Nazarov about 13 years ago Actions #19

+1

Updated by Kaskade LNA about 13 years ago Actions #20

+1

Updated by Ofer Nave over 12 years ago Actions #21

Yes, I would very much like this, too.

Right now, if a subtask happens to end up in the row following the parent task, it is indented with a right arrow icon, which is very nice. But otherwise, nothing.

Updated by Ofer Nave over 12 years ago Actions #22

According to #6116, you can achieve correct hierarchial sorting (between parent and subtasks) by creating a custom query that sorts on "Parent task", "ascending".

However, then you effectively can't sort by anything else, like priority or status.

Updated by Robert Schneider over 12 years ago Actions #23

+1 too.

The gantt diagram already contains it. But it is not enough.

I would create a new view for this. When the user is in the Tickets tab he or she should get the option to display the (existing) list view or the tree view. I think a tree view has the same value as a list, though they may provide different functions. Ideally, tree view and list view should be one thing. But this could be difficult to implement. That's why suggest to start a new view. A primitive tree view is better than no view.

Updated by Jorge S. about 12 years ago Actions #24

Is it that hard? I see open tickets for 4+ years

Updated by Toshi MARUYAMA about 12 years ago Actions #25

  • Related to Feature #5275: Show tree of issues instead of a list in Roadmap added

Updated by Toshi MARUYAMA about 12 years ago Actions #26

  • Related to Defect #18068: Copying Projects & Parent Child Issues added

Updated by Toshi MARUYAMA about 12 years ago Actions #27

  • Related to deleted (Defect #18068: Copying Projects & Parent Child Issues)

Updated by Toshi MARUYAMA almost 12 years ago Actions #28

  • Related to Defect #6320: Subtasks do not appear under parent task in Issues view added

Updated by Toshi MARUYAMA over 11 years ago Actions #29

  • Has duplicate Defect #20099: subtask can't listed under the father issue added

Updated by Sergey Startsev about 10 years ago Actions #30

+1

Updated by Emanuel Reisinger about 10 years ago Actions #31

+1

Updated by Stefan Lindner almost 10 years ago Actions #32

+1
A patch would be enough

Updated by Alexander Scherdo over 9 years ago Actions #33

+1
6 years after report....

Updated by jiangshan song over 9 years ago Actions #34

+1

Updated by Pierre de LESPINAY about 9 years ago Actions #35

A custom query with Parent task as first order does the trick for me (no need to put it on the columns)

Updated by Alessandro Zucchi almost 9 years ago Actions #36

+1
Very usefully

Updated by Tomaž Šuštar over 8 years ago Actions #37

+1

Updated by Entwicklung AMIT over 8 years ago Actions #38

+1
What's about this feature 7 years ago since now?
Support sorting in issue-query by parent task (field) AND an other field in order to sort within the parent fields comes to be very important. Thanks for regard this request.

Updated by Manzumul Haque about 8 years ago Actions #39

+1
Please fix this issue. We need this.

Updated by Claudio Negri over 7 years ago Actions #40

+1

Updated by Klaus Adler over 6 years ago Actions #41

+1
We are using Vitaly Klimov Smart Sort Plugin. We want to upgrade, but the Plugin is not working with 4.1.

Updated by Bernhard Rohloff over 6 years ago Actions #42

Klaus Adler wrote:

+1
We are using Vitaly Klimov Smart Sort Plugin. We want to upgrade, but the Plugin is not working with 4.1.

As far as the tree view is concerned you may have a look at this plugin here: https://www.redmine.org/plugins/redmine_issues_tree

Updated by Vasili Korol over 6 years ago Actions #43

+1

Updated by Georgiy Komarov over 5 years ago Actions #44

+1

Updated by V McKay almost 5 years ago Actions #45

+1

Updated by Albert Valls about 4 years ago Actions #46

+1
Even the not very obvious solution #6116 is enough for us right now.

Actions

Also available in: PDF Atom