Feature #28471

Make "Subtasks" section headers a links to issue query

Added by Sebastian Paluch over 2 years ago. Updated 2 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:Candidate for next major release
Resolution:

Description

The header on issue page "Subtasks" list issues, in some way, with some defaults columns. It would be very helpful if the section header could be clickable link to issue queries showing those issues:

- Subtasks should link to issue query with filter parent "contains" the issue number

It would be good to have same thing for "Related issues" but there seems to be no filter allowing to show all types of relations.

query_links_for_subtasks.diff Magnifier (2.01 KB) Bernhard Rohloff, 2019-09-05 06:40

subtask_query_links.png (10.5 KB) Bernhard Rohloff, 2019-09-05 07:00

subtasks.png (92.1 KB) Marius BALTEANU, 2020-04-25 11:23

History

#1 Updated by Go MAEDA over 2 years ago

It is a nice idea. Many people have requested to add more columns to the list of subtasks and related issues. It will be the solution to the request if we can move to the issues list with one click.

#2 Updated by Ewan Makepeace about 2 years ago

+1 - I would dearly love this.

#3 Updated by Ewan Makepeace 11 months ago

Specofically whjen I am in the Roadmap I can jump from the simple list of issues in a target verson such as:

http://www.redmine.org/versions/127

To a query on either All Issues:

http://www.redmine.org/projects/redmine/issues?fixed_version_id=127&set_filter=1&status_id=%2A

Or just Open or Closed. This is hugely useful as I can then sort, group and filter to get the answers I need.

However when subtasks are grouped under a parent task there is no shortcut. I can search all issues by Parent (which is often enough) but:

  1. I would like to see this as a shortcut on the issue page (just above subtasks)
  2. I often have nested groups of tasks and so really want to see all subtasks and not just those that are a direct child of the current task.
SELECT i.* 
FROM issues i
JOIN issues p 
    ON p.root_id = i.root_id 
    AND p.lft<i.lft 
    AND p.rgt>i.rgt
WHERE p.id = @PARENT_ID;

#4 Updated by Bernhard Rohloff 10 months ago

This patch implements Ewan's proposal. It's quite convenient to filter subtasks this way. Good idea!

#5 Updated by Bernhard Rohloff 10 months ago

here's how it looks now...

#6 Updated by Anonymous 7 months ago

+1, it's a green light from me ;-)

#7 Updated by Go MAEDA 7 months ago

  • Target version set to Candidate for next major release

#8 Updated by Marius BALTEANU 2 months ago

I reworked a little bit the patch proposed by Bernhard:

What do you think?

#9 Updated by Bernhard Rohloff 2 months ago

IMHO, it looks like a nice improvement. :-)

Also available in: Atom PDF