Hi,
I am trying to create an issue using rest API. I want to assign the assignee for issue while creating itself. But i am getting '400 bad request' as response.
My payload is :
{
"fields": {
"project": {
"key": "XYZ"
},
"summary": "Test issue 4",
"description": "This is a testing issue",
"issuetype": {
"name": "Defect"
},
"priority": {
"id": "3"
},
"assignee": {
"emailAddress": "abc@gmail.com"
}
}
}
It shows me error as :
org.springframework.web.client.HttpClientErrorException$BadRequest: 400 null
Please tell me what am I doing wrong.
Thank you.
Hi,
Is that for JIRA CLOUD or Data center?
For Cloud, due to GDPR, you cannot create an issue with adding email address for the user picker field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.