Group sub-tasks with parent on issue list
My colleagues have starting re-arranging their issue lists now that we have subtasks and every single one of them has asked how they can change the issue listing to make it obvious at a glance which subtasks belong to which issue.
Having this ability is a critical feature I think to make subtasks manageable.
Put all subtasks under their parent tasks in the issue listing.
add a - or > in the issue title as basic indentation.
I imagine this won't be a simple change because it will affect how the table ordering code should work.
#3 Updated by Jeffrey Jones over 10 years ago
Aha, that is perfect, just what I want. Apart from the fact that we have to have the parent task column visible which takes up a lot of space we would rather use for other stuff.
A way to get this exact layout without having to have the parent task column visible would be perfect.
#6 Updated by Nicolas Connault over 10 years ago
What you are trying to do is possible in Redmine 1.0.3. You need to create a custom query that sorts by parent task without adding the parent task column to the list. Here's how to do it:
Above the issues list, there should be 3 buttons: Apply, Clear and Save. These buttons refer to the filters and other options above them. When you click on save, it takes you to the New Query page.
*Name your query (e.g. Sort by Parent Task)
*Tick Public, All projects and Default columns
*Select "Parent Task" in the first drop-down under the "Sort" section, then "Ascending" in the next drop-down to the right
*Add any other sorts or filters (sorting by Priority and/or date submitted is probably useful)
Now this query will be the default view for all issue lists, and hopefully for all users (I haven't tried logging as a different user).
#8 Updated by Tomasz Sawicki almost 10 years ago
In order to sort by parent task and task id by default (which makes the subtask tree appear) in app/controllers/issues_controller.rb find index method and change
sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria)
sort_init(@query.sort_criteria.empty? ? [['root_id', 'desc'], ['id', 'desc']] : @query.sort_criteria)
#12 Updated by Steffen Tischer over 9 years ago
Thanks for that path. It is very useful.
But i have one question: If i set another sort column i can not reset this settings to default sort order.
In my opinion it is useful to reset also the sort setting if i click on "Reset" on top of the list. This button clears all setting except the sort settings.
Is this possible?