How to assign a user for issues while creating itself through rest API

tamiltamil October 20, 2016

Hi,

I am done with creating issue using rest API.Now i am want assign the the assignee for issue while creating itself.

I tried below example ,

{
"fields":{
"summary":"assigneeeee name",
"project":{
"key":"MAIL"},

"issuetype":{"name":"Bug"},
"description":"ISSUE",
"assignee":{
"name":"user1"
}
}}

It shows follwing error: net.oauth.OAuthProblemException: HTTP/1.1 400 Bad Request

please help me in this.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 20, 2016

It's not the assignee that is the problem, you aren't logging in correctly.  Check the way you are authenticating.

Suggest an answer

Log in or Sign up to answer