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.