Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-61594

disabled customFieldOption entries returned in allowedValues in GET issue/createmeta Rest Api

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      The options of custom fields that were disabled are returned via REST request. Affected custom fields include:

      • Select List (single choice)
      • Select List (multiple choices)
      • Select List (cascading)

      Steps to Reproduce

      1. Configure a custom field of any of the affected type listed above
      2. Add multiple options
      3. Disable one option and verify that it is not shown in the screens
      4. Run the following REST request
        GET /rest/api/2/issue/createmeta?expand=projects.issuetypes.fields
        
      5. Monitor the custom field options returned

      Expected Results

      Only non-disabled entries should be returned in allowedValues

      Actual Results

      All the custom field options are returned in allowedValues json array

      Notes

      Similar request from Atlassian Answers: https://answers.atlassian.com/questions/274145/hidden-options-for-custom-fields-via-rest-api

      Workaround

      No workaround is available as of now

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              0fcb57253e1d Ijtaba Hussain
              Votes:
              32 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated: