Defect #19271

Configuration of which versions are shown in version-format custom fields should not affect issue query filter

Added by Sebastian Paluch almost 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Custom fields
Target version:3.2.0
Resolution:Fixed Affected version:3.0.0

Description

The feature implemented as #8572 is great. It allows to limit to what values custom field can be set when issue is edited, e.g. allow to assign custom field only to open versions.

Unfortunately, this settings is affecting values that are shown for the custom field when building issue search query. This makes it impossible to search issues e.g. for closed or locked versions and makes entire feature a bit useless.

field_format.rb.patch Magnifier - @ 3.0-stable (3.05 KB) Sebastian Paluch, 2015-05-15 20:27


Related issues

Related to Redmine - Feature #8572: Configuration of which versions (by version-status) are s... Closed 2011-06-09

Associated revisions

Revision 14623
Added by Jean-Philippe Lang over 2 years ago

Display all versions in query filter (#19271).

History

#1 Updated by Sebastian Paluch over 2 years ago

I have created a patch fixing the problem. It is simply passing an option from query_filter_options to indicate that all values should be returned and is fully transparent for all other use cases.
Would be good if it could be included soon.

#2 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Feature #8572: Configuration of which versions (by version-status) are shown in version-format custom fields added

#3 Updated by Sebastian Paluch over 2 years ago

Can we please plan this to be included is a coming release?
It is very annoying that we have to see over 20 versions that are already closed, it is hard to find the right one in between...

#4 Updated by Toshi MARUYAMA over 2 years ago

  • Target version set to 3.2.0

#5 Updated by Jean-Philippe Lang over 2 years ago

  • Subject changed from Configuration of which versions (by version-status) are shown in version-format custom fields should not affect issue query to Configuration of which versions are shown in version-format custom fields should not affect issue query filter
  • Status changed from Resolved to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

This is fixed in r14623. Implementation is slightly different than the proposed patch and a test is added.

Also available in: Atom PDF