The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

user picker field does not work with user name

Ti-Fen Pan
February 14, 2022

We are trying to figure out how to submit forms with jira server because user picker field does not accept user_name for jira server request type submission.   The below is one of the  example.  Any pointers here?

curl --location --request POST 'https://jira.test.vxxx.com/rest/servicedeskapi/request' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic c3ZjX212d29ya3NfamlyYTppOSo0N25DcSpLTjJLMmhVdEtmVg==' \
--data-raw '{
"requestTypeId""88",
"serviceDeskId""4",
"raiseOnBehalfOf""xxx@moveworks.ai",
"requestFieldValues"{
"summary""Moveworks/Vaya Test (please ignore)",
"customfield_10052"{"name""user_name"} // a user picker field
}
}'

The response we got 
```
bond server reply: rest_pool: {\"errorMessage\":\"Your request could not be created. Please check the fields have been correctly filled in. We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file.\",\"i18nErrorMessage\":{\"i18nKey\":\"sd.validation.request.creation.failure.required.field\",\"parameters\":[\"We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file.\`

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Brant Schroeder
Community Champion
May 29, 2022

@Ti-Fen Pan If you remove the custom field are you able to submit the issue?