I have only the user id, email, and message - I want to create a new ticket using API.
Creating new tickets
https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post
If anyone like me wants to create tickets for the users to move more data it is important to remember to replace 'requestParticipants' with 'raiseOnBehalfOf'.
Creating new customers
https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-customer-post
The example of how to do this is at https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/
This is a very generic answer - I am already spending a lot of time figuring out all the fields. I will post here an answer if I will get the actual request body in a reasonable time.
I got most of it but some parts are just not working for me:
Am I doing something wrong here? My current setup base on email support tickets (when I send email myself and add the user as a participant) and web-based support - both work fine.
Besides not being able to use proper language I've solved all other issues by using a proper endpoint -> https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-post
Hi @ssuchanowski I use Creating new tickets
got "errorMessage": "You can't raise a request on behalf of this user because they need the customer role on your site managed by your organization admins."
do you know how to fix it ?
It looks like you're new here. Sign in or register to get started.