Project

General

Profile

Actions

Feature #1803

closed

Allow custom issue fields as column in issues overview

Added by Reinout van Schouwen over 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2008-08-21
Due date:
% Done:

0%

Estimated time:
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.

Actions #1

Updated by Reinout van Schouwen over 15 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)

Actions #2

Updated by Sergej Jegorov over 15 years ago

+1

Actions #3

Updated by David Holm over 15 years ago

+1

Actions #4

Updated by Vasia Pupkin over 15 years ago

+1

Actions #5

Updated by ccc ccc over 15 years ago

+1

Actions #6

Updated by Jens Goldhammer about 15 years ago

+1

Actions #8

Updated by Jean-Philippe Lang almost 15 years ago

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

Indeed.

Actions

Also available in: Atom PDF