Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-84798

Disabled custom field options should not be returned as allowed values when doing GET requests

XMLWordPrintable

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      When doing GET requests with endpoints such as /rest/api/2/jql/autocompletedata/suggestions?fieldName=[fieldname] disabled values are returned, what may cause issues with integrations (including Automation rules) considering that Jira won't be able to use it.

      Steps to Reproduce

      1. Create a select type custom field, adding some possible options on it
      2. Disable one of the options (in /secure/admin/ConfigureCustomField!default.jspa?customFieldId=[fieldId])
      3. Try to access Get field auto complete suggestions
      4. All existing options are returned (disabled or not)

      Expected Results

      Only not-disabled option should be returned, or disabled options should be marked as not available.

      Actual Results

      All existing options are returned (disabled or not) as if they were all available to be used as field values, what may cause issues with integrations and/or with Automation rules.

      Workaround

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

              Unassigned Unassigned
              itrojahn@atlassian.com Ilenice
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: