Specifying field behavior

Still need help?

The Atlassian Community is here for you.

Ask the community

A field configuration defines the behavior of all fields available in your Jira installation, including Jira's own "built-in" fields (known as system fields) and custom fields.

For each field, a field configuration specifies:

  • the description that appears under the field when an issue is edited
  • whether the field is hidden or visible
  • whether the field is required (i.e. the field will be validated to ensure it has been given a value) or optional
  • (for text fields only) which renderer to use

If you want to configure the same field to have different options and default values depending on the project and issue type, check out Configuring custom field contexts

On this page:

When defining field behavior for one or more Jira projects and issue types in these projects, you typically start by adding one or more new field configurations. You then proceed with modifying the behavior of individual fields in these new field configurations.

tip/resting Created with Sketch.

You should add a new field configuration for each combination of projects and issue types, where you want to use either specific fields or fields that express particular behavior (e.g. be hidden or required).

You can then associate each new field configuration with a different issue type through a field configuration scheme. A field configuration scheme can then be associated with one or more projects. For more information, see the Overview Diagram.

Managing multiple field configurations

For all of the following procedures, you must be logged in as a user with the Jira administrators global permission.

You can create multiple field configurations for use on separate projects and issue types.

About the default field configuration

When Jira is installed, the Default field configuration is created automatically. All new projects are associated with this configuration. This configuration is also used for projects that are not associated with a field configuration scheme.

Take into account that you can't edit the Default Field Configuration.

Adding a field configuration

  1. In the upper-right corner of the screen, select Administration  > Issues.

  2. Under Fields (the left-side panel), select Field configurations to view all your field configurations.
  3. Select the Add new field configuration button to open the Add field configuration dialog box.
  4. Complete the Add field configuration dialog box:
    • Name — enter a short phrase that best describes your new field configuration.
    • Description (optional but recommended) — enter a sentence or two to describe when this field configuration should be used.

Editing a field configuration

  1. In the upper-right corner of the screen, select Administration  > Issues.
  2. Under Fields (the left-side panel), select Field configurations to view all your field configurations.
  3. Select the Edit link next to the field configuration you wish to edit.
  4. On the Edit field configuration page, edit the field configuration's Name and Description.

Take into account that you can't edit the Default Field Configuration.

Deleting a field configuration

Things to consider before proceeding

  • You can't delete the Default Field Configuration.
  • You can only delete a field configuration that's not associated with a field configuration scheme. The Delete link will not be available for field configurations that are associated with one or more field configuration schemes.

Delete a field configuration

  1. In the upper-right corner of the screen, select Administration  > Issues.
  2. Under Fields (the left-side panel), select Field configurations to view all your field configurations.
  3. Select the Delete link next to the field configuration you wish to delete. You will be prompted to confirm this operation.

Copying a field configuration

  1. In the upper-right corner of the screen, select Administration  > Issues.
  2. Under Fields (the left-side panel), select Field configurations to view all your field configurations.
  3. Select the Copy link next to the field configuration you wish to copy.
  4. On the Copy field configuration page, specify the Name and Description for the field configuration to be copied.
    The (initial) field settings between the original and copied field configurations will be identical.

Consider that a newly created field configuration will not take effect until you:

  1. Associate your new field configuration to one or more issue types.
  2. Associate that field configuration with one or more projects.

See Associating field behavior with issue types for more information.

Modifying field behavior

To modify the behavior of fields in Jira, you need to modify the field configurations that those fields have been defined in.

  1. In the upper-right corner of the screen, select Administration  > Issues.
  2. Under Fields (the left-side panel), select Field configurations to view all your field configurations.
  3. Locate the field configuration of interest and click the Configure link to open the View field configuration page, which lists all system and custom fields in your Jira installation for that field configuration.

    Note that:

    • The Edit link only allows you to change the Name and Description of the field configuration, not of individual fields.
    • Note that the Edit link is not available for the Default field configuration on the View field configuration page (listing all field configurations defined in your Jira installation).
  4. In the Operations  column, you can perform the following actions for any field:
    • Edit — change the field's description (i.e. help text).
    • Hide/Show — hide the field from view or show it.
    • Require/Optional — set a field to be required (so that whenever a field is edited it must be given a value) or optional.
    • Renderers — change a field's renderer (see Configuring renderers for more information).

Consider that a newly created field configuration will not take effect until you:

  1. Associate your new field configuration to one or more issue types, and then
  2. Associate that field configuration with one or more projects.

See Associating field behavior with issue types for more information.

Editing a field's description

Fields can be given descriptions to better identify the meaning of the field. These descriptions are typically displayed under the fields they are associated with when creating or editing an issue. 

  1. Follow the first three steps above (in Modifying field behavior) to access the field configuration whose field's description you wish to edit.
  2. Select the Edit link next to the field you want to change and update the field's description.
  3. Select the Update button to save your changes.

Hiding or showing a field

If your organization or project has no use for a particular field, you have the option to hide it. Hiding a field will ensure that the the field does not appear on any screens (i.e. issue operation screens, workflow transition screens) where the field configuration applies.

Things to consider before proceeding

  • Hiding a field in the field configuration is distinct from not adding a field to a screen. Fields hidden through the field configuration will be hidden in all applicable screens, regardless of whether or not they have been added to the screen.
  • For fields that have a default value: If the field is hidden in the field configuration, then it will not receive a value when an issue is created, regardless of whether the field is present on the Create Issue screen(s). (The following fields can have a default value: resolution, status, priority, issue typesecurity level, and custom fields.)
  • The fields Summary and Issue Type cannot be hidden and as such there is no Hide option available for these fields.
  • If you hide the Fix Version/s field, the Change Log report will not work.

Hide or show a field in Jira

  1. Follow the first three steps above (in Modifying field behavior) to access the field configuration whose fields you wish to hide or show.
  2. Do either of the following:
    • If you no longer want to expose a field through Jira's user interface, select the Hide link associated with that field. You can make this field visible again at any time by selecting the Show link.
    • If you want to show a field (which is currently hidden) through Jira's user interface, click the Show link associated with that field. You can hide this field again at any time by selecting the Hide link.

Making a field required or optional

Certain fields within your organization may be compulsory for issues. In this case you can set a field to be required, so that Jira validates that the field has been given a value whenever an issue is edited. If a required field has not been given a value, Jira will return an error informing the user that the field should be filled.

Things to consider before proceeding

Make a field required or optional

  1. Follow the first three steps from the Modifying field behavior section to access the field configuration whose fields you wish to hide or show.

    tip/resting Created with Sketch.

    When viewing a field configuration, fields which are already required have that indication next to their name.

  2. Do either of the following:
    • To make a field mandatory when used through Jira's user interface, select the Required link associated with that field. The text Required will appear next to the field's name.
    • To make a field optional, select the Optional link associated with that field. The Required text next to the field's name will disappear.

Validation of required fields

You can mark all custom fields as required, no matter what type a custom field belongs to. There is a regular validation scenario for custom fields of all types except for the Select list (cascading) type.

Here’s what you should know about the regular validation and the validation specific to the Select list (cascading) type.

Regular validation

A required custom field will be validated if it contains at least one value.

Select list (cascading) validation

The validation of a required field of the Select list (cascading) type depends on the options set for this field. To check and manage the field’s options:

  1. In the upper-right corner of the screen, select Administration  > Issues.

  2. In the left-side panel, under Fields, select Custom fields.

  3. Find the field you want to view. In Actions, select Configure contexts.

  4. Select the Edit options link to view and edit the options, if needed.

    For which custom field types can I configure options?

    Here's the list of all custom field types for which you can add and manage options:

    • Checkboxes
    • Radio buttons
    • Select list (cascading)

    • Select list (multiple choices)

In the example, the required Product Category field has:

  • the parent Mobile phones option that has two child options, iPhone and Android

  • the Computers option that has no children.

Parent and child options must be enabled so that they’ll appear as available values in a required custom field of the Select list (cascading) type. Disabled options won’t appear for selection in the field.

In this case, field validation has two sub-scenarios.

Scenario #1: The Product category field will be validated when only the Computers option, which has no children and is enabled, is set as the field value.

Scenario #2: The Product category field will be validated when both the parent option Mobile phones and at least one of its child options (iPhone or Android) are enabled and set as the field values.

In other cases, you’ll see the following warning message when creating or editing an issue: "Select list (cascading) is required."

For example, you’ll see the warning when you haven’t selected any option for the required field of the Select list (cascading) type.

No option is selected for a required field

You’ll also see the warning when you’ve selected only a parent option but this parent option has at least one child.

Only a parent option is selected for a required field while this option has at least one child

Changing a field's renderer

Before you change the renderer for a specific field, read Configuring renderers, paying particular attention to the Implications for Jira operations section.

  1. Follow the first three steps from the Modifying field behavior section to access the field configuration whose field's renderer you wish to change.

    tip/resting Created with Sketch.

    When viewing a field configuration, the Name column indicates which renderers are currently enabled for all renderable fields, with the current renderer shown in brackets immediately below its field name.

  2. Select the Renderers link for the field you want to change. This will take you to a page where you will have the option to select a renderer from all configured and available renderers.
  3. This page will warn you if there are issues that will be affected by the change. If no issues will be affected then the warning does not show. From this page, choose the renderer you wish to use and click Update.

Changing the renderer only affects how a Jira field's content is displayed or how a user interacts with a multi-select field — it does not affect the issue data that exists in the system. Hence, you can therefore toggle between renderer types safely.

Last modified on May 29, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.