Project

General

Profile

Actions

RusRedmineCustomFields » History » Revision 1

Revision 1/6 | Next »
Denis Savitskiy, 2011-06-30 16:13


Пользовательские поля

Пользовательские поля дают возможность добавлять дополнительную информацию некоторым типам данных, используемых в Redmine. Прочтите 'custom field types' чтобы узнать все типы данных, которые поддерживают пользовательские поля.
Каждое пользовательское поле может быть определено в один из типов: certain type.

Типы пользовательских полей

Пользовательские поля могут быть следующих типов:

  • Целочисленное: положительное или отрицательное число
  • Строка: строка ввода
  • Текст: многострочный текст
  • Дата: дата
  • Логический тип: чекбокс
  • Список: выпадающий список

Для каждого поля можно задать несколько проверок:

  • Минимальная - максимальная длина: минимальная и максимальная длина поля (0 означает, что ограничений нет)
  • Регулярное выражение: можно использовать регулярное выражение для проверки содержимого поля. Примеры:
    1. за 4 заглавными буквами следует группа из нескольких цифр
      ^\[A-Z]{4}\d+$
    2. только символы, никаких цифр
      ^[^0-9]*$
  • Возможные значения: возможные значения для поля "Список". В каждой строке одно значение.

Custom field supporting data types

Fields for Issues

Data in issue custom fields can be used and/or will be displayed in issues, issue lists, custom queries and the Timelog report.

  • Trackers: TODO
  • Required: field which is required in order to create/save an issue
  • For all projects: if checked, this field is used for the issues of all the projects. If unchecked, each project can choose whether or not to use the field for its issues (see Project settings).
  • Used as a filter: TODO
  • Searchable: field which is searchable using the Redmine search function

Fields for Spent time entries

Data in spent time entry custom fields can be used and/or will be displayed in the Timelog report.

  • Required: field which is required in order to create/save a spent time entry

Fields for Projects

Data in project custom fields can be used and/or will be displayed in the Project overview.

  • Required: field which is required in order to create/save a project
  • Searchable: field which is searchable using the Redmine search function

Fields for Versions

Data in version custom fields can be used and/or will be displayed in the Roadmap and the Version overview.

  • Required: field which is required in order to create/save a version

Fields for Users

Data in user custom fields can be used and/or will be displayed in the user profiles.

  • Required: field which is required in order to create/save a user
  • Editable: field which is editable by the Redmine user owning the user account

Fields for Groups

Note: group custom fields are not (yet) used in the Redmine core, though other plugins or themes can/may use them. No setting here has any effect on any other parts of Redmine for the time being.

Fields for Activities (time tracking)

Data in time tracking activity custom fields can be used and/or will be displayed in the Timelog report and the Project settings. See also #4077 for some details about this nifty feature.

  • Required: field which is required in order to create/save an activity

Fields for Issue priorities

Note: issue priority custom fields are not (yet) used in the Redmine core, though other plugins or themes can/may use them. No setting here has any effect on any other parts of Redmine for the time being.

Fields for Document categories

Note: document category custom fields are not (yet) used in the Redmine core, though other plugins or themes can/may use them. No setting here has any effect on any other parts of Redmine for the time being.

Updated by Denis Savitskiy over 12 years ago · 1 revisions