When I create an issue via REST API there is no field to define the reporter
I want the same function as the field "Email confirmation to" of the support portal. Is it possible to set the reporter, when reporter is the anonymous customers?
Thank you for reaching out 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 'firstname.lastname@example.org:TOKEN' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
"summary": "Request JSD help via REST",
"description": "I need a new *mouse* for my Mac"
When creating the ticket on behalf of the customer, they will receive the notification the same as if they were creating the ticket in the customer portal or via email.
Is it possible to set the reporter, when reporter is the anonymous customers?
When creating the ticket using API we need to add their accountId, it means that we can only create tickets for existing customers.
Thank you so much, Angélica!
This worked perfectly (along with create customer and add it to the service desk) But how can I create an attachment (if the user adds one into initial request)? If I go a regular way, i.e. create temp file and then add it, it is created as added by agent, customer gets an email notification with his own attachment and the status changes to "waiting for customer", which is apparently wrong.+
Thanks in advance!
I'm glad that it's working @Albert Frischmann!
Currently, it's not possible to add an attachment when creating an issue. There is a feature suggesting this option:
If you don't want to transition the issue, the best option is to add the attachment as an internal comment and then go to the UI and change the visibility to public. The automation only runs at the moment the comment is added as public, so if it's added as internal and then changed to public, the automation will not run and it will not be transitioned to "waiting for customer".
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events