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

Updating an issue via REST to set a user field to a null value returns incorrect error message

XMLWordPrintable

      This is for the endpoint /rest/api/3/issue/{issueIdOrKey}

       

      e.g. Suppose I update an issue with JSON like this:

      {
        "fields": {
          "assignee": {
            "name": null
          }
        }
      }

      or

      {
        "fields": {
          "assignee": {
            "id": null
          }
        }
      }
      

      Both of these should cause the assignee to be unset. Currently if you use the "id" form you get an error message about the name field being invalid.

              bkelley@atlassian.com Ben Kelley
              bkelley@atlassian.com Ben Kelley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: