- Use '/' key to quickly access this field.
- Enter a name of repository, or repository group for quick search.
- Prefix query to allow special search:
user:admin, to search for usernames, always global
user_group:devops, to search for user groups, always global
pr:303, to search for pull request number, title, or description, always global
commit:efced4, to search for commits, scoped to repositories or groups
file:models.py, to search for file paths, scoped to repositories or groups
For advanced full text search visit: repository search
Added automatic table of content support on wiki pages, based on h1., h2. and h3. headings....
Added automatic table of content support on wiki pages, based on h1., h2. and h3. headings.
To display the page TOC, insert a line with this tag:
{{toc}} or {{<toc}} => left aligned toc
{{>toc}} => right aligned toc
git-svn-id: http://redmine.rubyforge.org/svn/trunk@718 e93f8b46-1217-0410-a6f0-8f06a7374b81
<title>5. Custom fields</title><linkrel="stylesheet"href="html.css"type="text/css"><metaname="generator"content="DocBook XSL Stylesheets V1.70.1"><linkrel="start"href="index.html"title="Documentation"><linkrel="up"href="ch01.html"title="Chapter 1. Administration"><linkrel="prev"href="ch01s04.html"title="4. Trackers"><linkrel="next"href="ch01s06.html"title="6. Issue status"></head><body><ahref="http://redmine.rubyforge.org/"><imgsrc="../redmine.png"alt="redmine"></a><divclass="navheader"><tablewidth="100%"summary="Navigation header"><tr><thcolspan="3"align="center">5. Custom fields</th></tr><tr><tdwidth="20%"align="left"><aaccesskey="p"href="ch01s04.html">Prev</a> </td><thwidth="60%"align="center">Chapter 1. Administration</th><tdwidth="20%"align="right"> <aaccesskey="n"href="ch01s06.html">Next</a></td></tr></table><hr></div><divclass="section"lang="en"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aname="d0e160"></a>5. Custom fields</h2></div></div></div><p>Custom fields allow you to add additional information in Projects, Issues or Users. A custom field can be of one the following types:</p><divclass="itemizedlist"><ultype="disc"><li><p><spanclass="guilabel">Integer</span> : positive or negative number</p></li><li><p><spanclass="guilabel">String</span> : a string of characters - one single line of input.</p></li><li><p><spanclass="guilabel">Text</span> : a string of characters with multiple lines of input. Differs from String Format by providing multiple lines of input instead of a single line.</p></li><li><p><spanclass="guilabel">Date</span> : date</p></li><li><p><spanclass="guilabel">Boolean</span> : true or false (check if necessary)</p></li><li><p><spanclass="guilabel">List</span> : value to select from a predefined list (aka: scroll list or select box)</p></li></ul></div><p>Validation elements can be defined:</p><divclass="itemizedlist"><ultype="disc"><li><p><spanclass="guilabel">Required</span> : A required field must have input in the forms</p></li><li><p><spanclass="guilabel">For all the projects</span> : field automatically associated to all of the projects</p></li><li><p><spanclass="guilabel">Min - max length</span> : minimum and maximum length for the input fields (0 means that there is no restriction)</p></li><li><p><spanclass="guilabel">Regular Expression</span> : regular expressions may provide validation of the input value</p><p>Examples:</p><p><codeclass="code">^\[A-Z]{4}\d+$</code> : 4 capital letters followed by one or several digits</p><p><codeclass="code">^[^0-9]*$</code> : characters only - no digits</p></li><li><p><spanclass="guilabel">Possible values</span> : possible values for the fields of "List" type. Values are separated by the character |</p></li></ul></div><p></p><divclass="section"lang="en"><divclass="titlepage"><div><div><h3class="title"><aname="d0e235"></a>5.1. Fields for Projects</h3></div></div></div><p></p><divclass="itemizedlist"><ultype="disc"><li><p><spanclass="guilabel">Required</span> : required field</p></li></ul></div><p></p></div><divclass="section"lang="en"><divclass="titlepage"><div><div><h3class="title"><aname="d0e246"></a>5.2. Fields for Issues</h3></div></div></div><p></p><divclass="itemizedlist"><ultype="disc"><li><p><spanclass="guilabel">For all projects</span> : field automatically associated to all project Issues</p><p>If this option is not activated, each project could choose whether or not to use the field for its Issues (please see the project configuration).</p></li></ul></div><p></p></div><divclass="section"lang="en"><divclass="titlepage"><div><div><h3class="title"><aname="d0e259"></a>5.3. Field for Users</h3></div></div></div><p></p><divclass="itemizedlist"><ultype="disc"><li><p><spanclass="guilabel">Required</span> : required field</p></li></ul></div><p></p></div></div><divclass="navfooter"><hr><tablewidth="100%"summary="Navigation footer"><tr><tdwidth="40%"align="left"><aaccesskey="p"href="ch01s04.html">Prev</a> </td><tdwidth="20%"align="center"><aaccesskey="u"href="ch01.html">Up</a></td><tdwidth="40%"align="right"> <aaccesskey="n"href="ch01s06.html">Next</a></td></tr><tr><tdwidth="40%"align="left"valign="top">4. Trackers </td><tdwidth="20%"align="center"><aaccesskey="h"href="index.html">Home</a></td><tdwidth="40%"align="right"valign="top"> 6. Issue status</td></tr></table></div></body></html>