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

When using API, the values does not return for Custom field Category

XMLWordPrintable

      Problem

      The API query for returning values for a custom field does not work for Custom field dropdown Category and works for other custom field.

      For more details on this API, you can refer the link below.
      https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-jql/#api-rest-api-3-jql-autocompletedata-get

      Environment

      API

      Steps to Reproduce

      #Create a custom field Category( dropdown), add values to it.

      1. RUN API Query in instance as below
        https://<your site>.atlassian.net/rest/api/3/jql/autocompletedata/suggestions?fieldName=Category
        

        Replicable in my instance
        https://arunajohny.atlassian.net/rest/api/3/jql/autocompletedata/suggestions?fieldName=Category

        {"results":[]}

        https://arunajohny.atlassian.net/rest/api/3/jql/autocompletedata/suggestions?fieldName=Category1
        [

        {"value":"cat1","displayName":"cat1"}

        ,

        {"value":"cat2","displayName":"cat2"}

        ,

        {"value":"cat3","displayName":"cat3"}

        ,

        {"value":"cat4","displayName":"cat4"}

      Expected Results

      The API with custom field category should return values

      Actual Results

      The API with custom field category is not returning any values

      Workaround

      (Add a workaround, if available)

      Notes

              Unassigned Unassigned
              d31ee7a4b64e Aruna Johny (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: