Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

1 vote
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events