Project

General

Profile

Actions

Defect #19271

closed

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

Added by Sebastian Paluch over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.


Files

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

Related issues

Related to Redmine - Feature #8572: Configuration of which versions (by version-status) are shown in version-format custom fieldsClosedJean-Philippe Lang2011-06-09

Actions
Actions #1

Updated by Sebastian Paluch over 9 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.

Actions #2

Updated by Toshi MARUYAMA over 9 years ago

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

Updated by Sebastian Paluch over 9 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...

Actions #4

Updated by Toshi MARUYAMA over 9 years ago

  • Target version set to 3.2.0
Actions #5

Updated by Jean-Philippe Lang about 9 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.

Actions

Also available in: Atom PDF