RedmineCustomFields » History » Version 1

Jean-Philippe Lang, 2007-10-12 21:16

1 1 Jean-Philippe Lang
h1. Custom fields
2 1 Jean-Philippe Lang
3 1 Jean-Philippe Lang
Custom fields allow you to add additional information on Projects, Issues or Users. A custom field can be of one the following types:
4 1 Jean-Philippe Lang
5 1 Jean-Philippe Lang
* *Integer*: positive or negative number
6 1 Jean-Philippe Lang
* *String*: one single line of input
7 1 Jean-Philippe Lang
* *Text*: multiple lines text
8 1 Jean-Philippe Lang
* *Date*: date
9 1 Jean-Philippe Lang
* *Boolean*: checkbox
10 1 Jean-Philippe Lang
* *List*: drop down list
11 1 Jean-Philippe Lang
12 1 Jean-Philippe Lang
Some validations can be defined for each custom field:
13 1 Jean-Philippe Lang
14 1 Jean-Philippe Lang
* *Min - max length* : minimum and maximum length for the field (0 means that there is no restriction)
15 1 Jean-Philippe Lang
* *Regular Expression* : a regular expression can be used to validate the field content
16 1 Jean-Philippe Lang
17 1 Jean-Philippe Lang
Examples:
18 1 Jean-Philippe Lang
19 1 Jean-Philippe Lang
  ^\[A-Z]{4}\d+$ : 4 capital letters followed by one or several digits
20 1 Jean-Philippe Lang
21 1 Jean-Philippe Lang
  ^[^0-9]*$ : characters only - no digits
22 1 Jean-Philippe Lang
23 1 Jean-Philippe Lang
* *Possible values*: possible values for the "List" fields. You can add more values by clicking on this icon: !/images/add.png!
24 1 Jean-Philippe Lang
25 1 Jean-Philippe Lang
h2. Fields for Projects
26 1 Jean-Philippe Lang
27 1 Jean-Philippe Lang
* *Required*: field which is required in order to create/save the project
28 1 Jean-Philippe Lang
29 1 Jean-Philippe Lang
h2. Fields for Issues
30 1 Jean-Philippe Lang
31 1 Jean-Philippe Lang
* *Required*: field which is required in order to create/save the issue
32 1 Jean-Philippe Lang
* *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]]).
33 1 Jean-Philippe Lang
34 1 Jean-Philippe Lang
h2. Field for Users
35 1 Jean-Philippe Lang
36 1 Jean-Philippe Lang
* *Required*: field which is required in order to create/save the user