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

Updating a cascading custom field trough the REST API not always shows the proper value on the UI

XMLWordPrintable

      Issue Summary

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Try to update a custom field of the type Select list (cascading) by using the REST API:

      curl -vvv --request PUT --user '<username>:<token>' \
      -H "Content-Type: application/json" \
      -d '{
       "fields": {
        "customfield_<id>": {
         "value": "<parent-name>",
         "child": {
          "value": "<child name>"
         }
       }
      }
      }' \
      "<host>/rest/api/3/issue/<ticket-d>/
      

      2. Check the results from the UI

      Expected Results

      • The custom field modification should be visible from the UI

      Actual Results

      • In some cases, the child option is not visible and in others you will see "None"
      • From the backend side, the values are stored properly

      Workaround

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

              Unassigned Unassigned
              c1768047d082 Martín Kociman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: