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: 

How to create an issue using API with a different reporter

Douglas Alves
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 9, 2024

Hello guys, how are you?

 

I am trying to create an issue using an API but I don't why the reporter is always the same (me) maybe because I am using my API key.

 

I already tried to change the reporter in the payload putting a different reporter ID, it creates an issue but it keeps creating with me as reporter.

 

This s my payload

 

 

{
"fields": {
"project": {
"id": "10001"
},
"summary": "Teste API 1",
"issuetype": {
"id": "10008",
"reporter": {
"id": "712020:2319a235-5b12-4bb9-94b9-55e698bf8df9"
}
}
}
}
Do you guys know how can I do it?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Mikael Sandberg
Community Champion
July 9, 2024

Hi @Douglas Alves,

Welcome to Atlassian Community!

If you use the JSM endpoint for Create customer request you can select who the reporter should be by using raiseOnBehalfOf.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events