I have a number of projects where I need to create the same request type on each of them; rather than going through each one manually, is there a way to use the REST API to create the request type? I'll then be able to iterate through projects and do it automatically.
I've had a look at the REST API documentation and couldn't find anything related to creating Request Types, so was hoping I'd just missed it.
Hi @Anthony Norwood ,
currently this is not possible. There have been apps to implement this use case on Server/DC, but as of now, the needed API is not available in Cloud.
Kind regards,
Kai
@Anthony Norwood Welcome to the Atlassian community
@Kai Becker is correct that is not available in the cloud product. You can learn more about the API here: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-requesttype/#api-group-requesttype
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anthony Norwood It seems like now in 2023, things are changing and they are adding this as a API endpoint. See here: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-rest-servicedeskapi-servicedesk-servicedeskid-requesttype-post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for sharing Rodney!
It’s indeed possible to create a request type using the REST API. However, it can't be added to a group this way. As a result, the request types created programmatically won't be visible on the JSM portal until they are manually assigned to a group.
Request type groups is left empty, which means this customer request type will not be visible on the customer portal
Do you know of any solution for this?
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.