Feature #1803

Allow custom issue fields as column in issues overview

Added by Reinout van Schouwen over 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:2008-08-21
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Custom fields
Target version:-
Resolution:Fixed

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.

History

#1 Updated by Reinout van Schouwen about 9 years ago

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)

#2 Updated by Sergej Jegorov about 9 years ago

+1

#3 Updated by David Holm about 9 years ago

+1

#4 Updated by Vasia Pupkin about 9 years ago

+1

#5 Updated by ccc ccc almost 9 years ago

+1

#6 Updated by Jens Goldhammer almost 9 years ago

+1

#8 Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Indeed.

Also available in: Atom PDF