Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I am making an API call
Hello @tobiadalsecco,
Welcome to the Atlassian Community!
When using the /rest/servicedeskapi/request, it’s considered the same as creating the ticket through the customer portal. It means that the fields added to the API request must be the ones visible in the portal.
What can be done, in this case, is to use the Create issue API that is the same as the “Create” button in Jira where you can add the fields available on the screen, even those that are not visible in the portal:
There is only one problem using this endpoint: it’s not possible to set the Request type, therefore, the ticket won’t be visible in the portal and the customer won’t receive the “Request created” notification.
Also, since there is no API to set the Request type after the ticket is created, it will be necessary to manually set it.
Another option is to use the Edit issue API to add a value to the field after creating it using the /rest/servicedeskapi/request API:
Hope this helps!
If you have any other questions regarding this matter, please let us know.
Kind regards,
Angélica
Great! I think I'm going to use the edit issue option.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.