Defect #1495

Queries on versions don't work globally

Added by T Obu about 11 years ago. Updated over 1 year ago.

Status:ClosedStart date:2008-06-18
Priority:LowDue date:
Assignee:-% Done:


Category:Issues filter
Target version:-
Resolution:Duplicate Affected version:2.2.2


I saved globally a "vaporware" query - tickets without target version. It now appears at the global level, where it doesn't work and lists all tickets.

This is a query bug, but since I don't really want the query to be at the global level, just for any project, I'll file a feature request too.

Running r1533 .

issue_query.rb.patch Magnifier (489 Bytes) Juergen ---, 2015-02-06 10:13

issues_without_target_version.png (348 KB) Marius BALTEANU, 2018-02-25 17:27

Related issues

Related to Redmine - Defect #980: "For all projects" custom queries New 2008-04-03
Related to Redmine - Defect #1662: Issue's custom fields don't appear on some filters and cu... Closed 2008-07-18
Duplicated by Redmine - Defect #2107: Issue Filter for "Target Version" vanishes without warnin... Closed 2008-10-29
Duplicates Redmine - Feature #20279: Allow to filter issues with "Any" or "None" target versio... Closed


#1 Updated by Mischa The Evil over 9 years ago

Just came around this issue and decided to check it on recent trunk to see if anything fixed this issue overtime already.

I can still confirm this unexpected behaviour due to the fact that the "target version" filters are ignored / removed while at a global (parent) level.

#2 Updated by Daniel Felix over 6 years ago

  • Status changed from New to Confirmed
  • Affected version (unused) changed from devel to 2.2.2
  • Affected version set to 2.2.2

I still can confirm this issue. The target version is removed on the global issue list.

#3 Updated by Jethro Yu almost 6 years ago

+1. Still can't filter by target version on 2.3.3

#4 Updated by Benoit Duffez over 5 years ago

Just upgraded to 2.5.1, it's not working on this version either.

#5 Updated by Juergen --- over 4 years ago

I had the same problem with the "target version" filter. The filter is only available when one "target version" setting "Sharing" is set to "With all projects". But I think it is better to show all "target versions" when I will search over all projects.

I attached a patch that solve this problem for me.

#6 Updated by Marius BALTEANU over 2 years ago

This issue doesn't reproduce anymore on current trunk from my checks.

I think that was fixed by r16170 and this ticket duplicates #20279.

#7 Updated by Benoit Duffez over 2 years ago

Indeed, confirmed to be working as expected on 3.3.1.stable.

#8 Updated by Toshi MARUYAMA over 2 years ago

  • Status changed from Confirmed to Needs feedback

#9 Updated by Marius BALTEANU over 1 year ago

  • Duplicates Feature #20279: Allow to filter issues with "Any" or "None" target version defined when viewing all issues added

#10 Updated by Marius BALTEANU over 1 year ago

Works as expected:

#11 Updated by Marius BALTEANU over 1 year ago

  • Category changed from Issues to Issues filter

Also available in: Atom PDF