Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-72374

Jira allows creating an issue with a disabled value on a custom field

    XMLWordPrintable

Details

    Description

      Issue Summary

      It is possible to create an issue with a disabled value on a custom field, by setting the value directly on the URL.

      Steps to Reproduce

      1. Create a custom field of type Select list (single choice).
      2. Add two values to the custom field, where one is going to be disabled.
      3. Add the custom field to the Create Screen.
      4. Create a URL for the Create Issue screen, such as: https://<JIRA_URL>/secure/CreateIssueDetails!init.jspa?pid=10043&issuetype=14&customfield_10121=12140
        1. The id 12140 is the disabled value.
      5. The issue will be created with the disabled value.
        1. Once you edit the custom field's value, the disabled one no longer appears in the drop-down list.

      Expected Results

      It should not be possible to populate custom fields with disabled values.

      Actual Results

      The Issue is created with a disabled value on the custom field.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c2b49e2414a1 Igor Medeiros (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: