I'm trying to update the value for a custom user picker field on an issue using the REST v2 API and Jira Server 9.4.24. Googling only seems to return answers for Jira Cloud and a lot of discussion about having to use the account ID of the user.
Trying to extrapolate (unsuccesfully), I query for the user information using:
https://domain_name.com/rest/api/2/user/search?username=<user name>
The response does NOT include an account ID, so I'm at a loss there.
But I'm also not seeing a REST v2 API to set the value on a custom field of any kind. Closest I found was:
POST /rest/api/2/field
to create a new custom field, but nothing to set a value on a custom field
Apologies if I'm just missing it...