官术网_书友最值得收藏!

Making a field required

Required fields such as Summary and Issue Type have a little red asterisk next to them, which means they must have a value when you are creating or updating an issue. This is a great way to ensure users will not skip filling in important information.

We will look at how to make any fields of your choice required in this recipe, with field configurations. A field configuration controls the behaviors of a field; these include the field's mandatory requirements, visibility, renderer, and description.

How to do it…

Proceed with the following steps to make a field required in JIRA:

  1. Log into JIRA as a JIRA administrator.
  2. Navigate to Administration | Issues | Field Configurations.
  3. Click on the Configure link for the field configuration used by the project and issue type.
  4. Click on the Required link for Priority and Due Date as shown in the following screenshot:

How it works…

When a field is marked as required, JIRA will check to make sure the field has a value when you are making updates to the issue, such as an edit or during a workflow transition. This validation is applied even if the field is not present on the screen, so make sure you do not make a field that is not required on screen, otherwise users will not be able to complete the action.

Certain fields such as Assignee and Due Date require the user to have certain permissions to make updates. If the user does not have the necessary permissions, the validation will fail and prevent the user from completing the action.

There's more…

Clicking on the Optional link will make the field not required. Certain fields such as Issue Type must be required.

See also

The Making the assignee field required recipe.

主站蜘蛛池模板: 兴仁县| 兖州市| 嘉善县| 大关县| 鲁甸县| 四川省| 高要市| 饶平县| 寿宁县| 塔河县| 天长市| 阿城市| 虹口区| 晋江市| 淳安县| 岑巩县| 新密市| 柘荣县| 交口县| 虹口区| 阿鲁科尔沁旗| 正阳县| 唐海县| 德庆县| 深水埗区| 宜宾市| 勃利县| 泗水县| 濮阳县| 南郑县| 长岭县| 梁山县| 六安市| 阳新县| 鹿邑县| 宁远县| 富平县| 霍城县| 织金县| 泾源县| 北川|