You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
As I set using php to create Jira issue and assigned the value in php, moreover, the reporter in Jira Issue is still "Anonymous", please help.
$arr['reporter']=array('name'=>$_POST['email'],
'email'=>$_POST['email'],
'raiseOnBehalfOf'=>$_POST['email']);
"reporter":{"name":"abc@test.com","email":"abc@test.com","raiseOnBehalfOf":"abc@test.com"}
Hello @Jennifer Yu - Admin,
Welcome to Atlassian Community!
When creating tickets using API, the reporter is set on "raiseOnBehalfOf" which is the same field we use in the UI when creating a ticket.
curl --request POST \
--url 'https://xxxxx.atlassian.net/rest/servicedeskapi/request' \
--user 'xxxxx@domain.com:TOKEN' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"raiseOnBehalfOf":
"qm:a713c8ea-1075-4e30-9d96-891a7d181739:5ad6d69abfa3980ce712caae",
"serviceDeskId": "12",
"requestTypeId": "123",
"requestFieldValues": {
"summary": "Request JSD help via REST",
"description": "I need a new *mouse* for my Mac"
}
}'
Also, when creating the ticket using API we need to add the customer's accountId, which means that we can only create tickets for existing customers.
Hope this helps!
Kind regards,
Angélica
Hello Community! We’re excited to announce that Mindville Insight’s asset and configuration management capabilities will now be integrated into Jira Service Management Premium and Enterprise plan...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.