Mantis 简明教程
Mantis - Add Custom Fields
添加自定义字段的过程包括首先定义自定义字段,然后将其链接到适当的项目。
The process of adding custom fields include first defining the custom field and then linking it to appropriate projects.
Step 1 − 转到“管理 → 管理自定义字段”部分。
Step 1 − Go to Manage → Manage Custom Field section.
Step 2 − 在文本框中输入字段名称。
Step 2 − Enter the field name in the textbox.
Step 3 − 单击“新建自定义字段”按钮,如下图所示。
Step 3 − Click the New Custom Field button as shown in the following screenshot.

Step 4 − 单击“新建自定义字段”后,将打开“编辑自定义字段”页面,用户必须在其中定义自定义字段规范。
Step 4 − After clicking the New Custom Field, the Edit Custom field page opens where the user has to define the custom field specification.
Step 5 − 从下拉列表(日期、字符串、列表等)中为字段选择一个“类型”。
Step 5 − Select a ‘Type’ for the field from the dropdown list (date, string, list, etc.).
对于自定义字段类型,您可以编写可能的值。使用 ‘|’ 字符分隔不同的值。期望此类列表的自定义字段类型包括:枚举、复选框、列表、多选列表和单选按钮。
For custom field types, you can write Possible Values. Use the ‘|’ character to separate the different values. Custom field types that expect such lists include: enumeration, checkbox, list, multi-selection list, and radio buttons.
“默认值”定义允许自定义字段根据字段类型具有默认值。在大多数情况下,它是一个简单值,例如字符串、数字或可能值的列表中的值。然而,对于“日期”类型,可能的值可以包括以下值:{today}、{tomorrow}、{+3 days}、{-7 days}、{next week}、{15 December 2013} 等。
The 'Default Value' definition allows the custom field to have a default value based on the field type. In most cases, it is a simple value such as a string, a number, or a value from the list of possible values. However, for the Date type, the possible values can include values such as: {today}, {tomorrow}, {+3 days}, {-7 days}, {next week}, {15 December 2013}, etc.

Step 6 − 选中指定自定义字段应显示并必需的页面的复选框。
Step 6 − Check the checkboxes specifying the pages on which the custom field should appear and is required.
定义自定义字段后,应将其链接到适当的项目。
After defining the custom field, it should be linked to the appropriate projects.
Step 7 − 滚动到“编辑自定义字段”页面的底部,找到“将自定义字段链接到项目”部分。从显示的列表中选择项目,然后单击“链接自定义字段”,如下图所示。
Step 7 − Scroll to the bottom of the 'Edit Custom Field' page to the 'Link custom field to projects' section. Select the projects from the displayed list and click 'Link Custom Field’ as shown in the following screenshot.

顺序号用于确定自定义字段彼此之间的相对顺序。较小的顺序号显示在前面。
The sequence number is used to determine the relative order of custom fields to each other. Smaller sequence numbers are shown first.