RusRedmineCustomFields » History » Version 1

Denis Savitskiy, 2011-06-30 16:13

1 1 Denis Savitskiy
h1. Пользовательские поля
2 1 Denis Savitskiy
3 1 Denis Savitskiy
{{>toc}}
4 1 Denis Savitskiy
5 1 Denis Savitskiy
Пользовательские поля дают возможность добавлять дополнительную информацию некоторым типам данных, используемых в Redmine. Прочтите '[[RedmineCustomFields#Custom-field-types|custom field types]]' чтобы узнать все типы данных, которые поддерживают пользовательские поля.
6 1 Denis Savitskiy
Каждое пользовательское поле может быть определено в один из типов: [[RedmineCustomFields#Custom-field-supporting-data-types|certain type]].
7 1 Denis Savitskiy
8 1 Denis Savitskiy
h2. Типы пользовательских полей
9 1 Denis Savitskiy
10 1 Denis Savitskiy
Пользовательские поля могут быть следующих типов:
11 1 Denis Savitskiy
12 1 Denis Savitskiy
* *Целочисленное*: положительное или отрицательное число
13 1 Denis Savitskiy
* *Строка*: строка ввода
14 1 Denis Savitskiy
* *Текст*: многострочный текст
15 1 Denis Savitskiy
* *Дата*: дата
16 1 Denis Savitskiy
* *Логический тип*: чекбокс
17 1 Denis Savitskiy
* *Список*: выпадающий список
18 1 Denis Savitskiy
19 1 Denis Savitskiy
20 1 Denis Savitskiy
Для каждого поля можно задать несколько проверок:
21 1 Denis Savitskiy
22 1 Denis Savitskiy
* *Минимальная - максимальная длина*: минимальная и максимальная длина поля (0 означает, что ограничений нет)
23 1 Denis Savitskiy
* *Регулярное выражение*: можно использовать регулярное выражение для проверки содержимого поля. Примеры:
24 1 Denis Savitskiy
## _за 4 заглавными буквами следует группа из нескольких цифр_
25 1 Denis Savitskiy
<pre>^\[A-Z]{4}\d+$</pre>
26 1 Denis Savitskiy
## _только символы, никаких цифр_
27 1 Denis Savitskiy
<pre>^[^0-9]*$</pre>
28 1 Denis Savitskiy
29 1 Denis Savitskiy
* *Возможные значения*: возможные значения для поля "Список". В каждой строке одно значение.
30 1 Denis Savitskiy
31 1 Denis Savitskiy
h2. Custom field supporting data types
32 1 Denis Savitskiy
33 1 Denis Savitskiy
h3. Fields for Issues
34 1 Denis Savitskiy
35 1 Denis Savitskiy
Data in issue custom fields can be used and/or will be displayed in [[RedmineIssues|issues]], [[RedmineIssueList|issue lists]], [[RedmineIssueList#Custom-queries|custom queries]] and the [[RedmineTimelogReport|Timelog report]].
36 1 Denis Savitskiy
37 1 Denis Savitskiy
* *Trackers*: TODO
38 1 Denis Savitskiy
* *Required*: field which is required in order to create/save an issue
39 1 Denis Savitskiy
* *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 [[RedmineProjectSettings|Project settings]]).
40 1 Denis Savitskiy
* *Used as a filter*: TODO
41 1 Denis Savitskiy
* *Searchable*: field which is searchable using the Redmine [[RedmineSearch|search function]]
42 1 Denis Savitskiy
43 1 Denis Savitskiy
h3. Fields for Spent time entries
44 1 Denis Savitskiy
45 1 Denis Savitskiy
Data in spent time entry custom fields can be used and/or will be displayed in the [[RedmineTimelogReport|Timelog report]].
46 1 Denis Savitskiy
47 1 Denis Savitskiy
* *Required*: field which is required in order to create/save a spent time entry
48 1 Denis Savitskiy
49 1 Denis Savitskiy
h3. Fields for Projects
50 1 Denis Savitskiy
51 1 Denis Savitskiy
Data in project custom fields can be used and/or will be displayed in the [[RedmineProjectOverview|Project overview]].
52 1 Denis Savitskiy
53 1 Denis Savitskiy
* *Required*: field which is required in order to create/save a project
54 1 Denis Savitskiy
* *Searchable*: field which is searchable using the Redmine [[RedmineSearch|search function]]
55 1 Denis Savitskiy
56 1 Denis Savitskiy
h3. Fields for Versions
57 1 Denis Savitskiy
58 1 Denis Savitskiy
Data in version custom fields can be used and/or will be displayed in the [[RedmineRoadmap|Roadmap]] and the [[RedmineVersion|Version overview]].
59 1 Denis Savitskiy
60 1 Denis Savitskiy
* *Required*: field which is required in order to create/save a version
61 1 Denis Savitskiy
62 1 Denis Savitskiy
h3. Fields for Users
63 1 Denis Savitskiy
64 1 Denis Savitskiy
Data in user custom fields can be used and/or will be displayed in the [[RedmineUserProfiles|user profiles]].
65 1 Denis Savitskiy
66 1 Denis Savitskiy
* *Required*: field which is required in order to create/save a user
67 1 Denis Savitskiy
* *Editable*: field which is editable by the [[RedmineAccounts|Redmine user]] owning the user account
68 1 Denis Savitskiy
69 1 Denis Savitskiy
h3. Fields for Groups
70 1 Denis Savitskiy
71 1 Denis Savitskiy
*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.
72 1 Denis Savitskiy
73 1 Denis Savitskiy
h3. Fields for Activities (time tracking)
74 1 Denis Savitskiy
75 1 Denis Savitskiy
Data in time tracking activity custom fields can be used and/or will be displayed in the [[RedmineTimelogReport|Timelog report]] and the [[RedmineProjectSettings#Activities-time-tracking|Project settings]]. See also #4077 for some details about this nifty feature.
76 1 Denis Savitskiy
77 1 Denis Savitskiy
* *Required*: field which is required in order to create/save an activity
78 1 Denis Savitskiy
79 1 Denis Savitskiy
h3. Fields for Issue priorities
80 1 Denis Savitskiy
81 1 Denis Savitskiy
*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.
82 1 Denis Savitskiy
83 1 Denis Savitskiy
h3. Fields for Document categories
84 1 Denis Savitskiy
85 1 Denis Savitskiy
*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.