Proper way to set Reporter system field via create rest api

Is there a way to set the Reporter system field via create API? We tried using the following format

},
“reporter”:{
“id”:“uxxxxxx”
},

uxxxxxx = the username of the reporter. We did not include the email address, does that need to be included as well or does the Full name need to be used?

The user is a valid licensed user in the system and does have the proper permissions to browse, create, edit and modify reporter as does the service account that is performing the API actions. Instead of the service account username being populated if we leave reporter blank, it’s populating the reporter as “Anonymous”. Any help would be appreciated.

Hi there,

I used public Jira PUT endpoint api/2/issue/{issueIdOrKey} with payload:

{
   "fields": {
       "reporter":{"name":"username"}
   }
}

with successful result. Hopefully will be working for you as well.

King Regards
Josef

1 Like