Feature #1803
closed
Allow custom issue fields as column in issues overview
Added by Reinout van Schouwen over 16 years ago.
Updated over 15 years ago.
Description
It would be useful to be able to show custom field values in the issues overview as an extra column.
E.g. I have a custom field 'Points' in my issue trackers. In the filtered table on the Issues page, I'd like to view the values of that field and be able to sort on those values.
I found that changing the method 'columns' in the Query class like this:
def columns
if has_default_columns?
available_columns.select {|c| Setting.issue_list_default_columns.include?(c.name.to_s) || c.instance_of?(QueryCustomFieldColumn) }
else
# preserve the column_names order
column_names.collect {|name| available_columns.find {|col| col.name == name}}.compact
end
end
will make custom fields be shown on the main issue table. However, there is no way to select custom fields, you just get all of them. Also, custom fields are not sortable by definition (hard coded in QueryCustomFieldColumn class)
- Status changed from New to Closed
- Resolution set to Fixed
Also available in: Atom
PDF