Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Create a request type via API

Anthony Norwood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2022

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.

3 answers

2 accepted

1 vote
Answer accepted
Kai Becker
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2022

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

0 votes
Answer accepted
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 25, 2022

@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 

@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

Christophe Promé August 30, 2024

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?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events