Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

PUT user field returns 204 but doesn't update

Leticia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2019

Jira Software version: v7.10.1

When making a user field update (PUT) using REST, the response is successful but the field isn't actually updated. Same happens with POST when creating a new task and trying to set the custom user field. I've tried:

  1. Assigning user with /assignee
  2. Updating a custom user field (+ setting this field when creating task)

The API call I made, with basic auth, from postman:

  • Custom user field:
{ "fields":
{ "customfield_10901":
{ "emailAddress": "xyz@xyz.com" }
}
}
  • Assignee:
{ "emailAddress": "xyz@xyz.com" }

The response:

  • 204 No Content
  • X-AUSERNAME header returns the correct user to the email informed.

 

But the field stays empty as you can see below:

Screenshot_1.png

Is there anything that could solve this?

1 answer

0 votes
tung.tran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2021

I got the same issue and want to checkin if you have solution yet @Leticia ?

Suggest an answer

Log in or Sign up to answer