In the Jira Service Management board UI, I'm able to create a an issue and assign it an "Issue Type" such as "IT Help".
Example:
However, the rest API endpoint for Jira Service Management that creates customer requests only accepts request types, and not the base issue types.
Is there a way to create with the base issue type through the Jira Service Management REST API? We are trying to support an account with Jira Service Management access but no access to the Jira Cloud rest API.
I have tried sending the "issueTypeId" value for the base type to the create customer request endpoint, but it was not accepted.
Hi @Rob Ardies
JSM works with request types, which rely on issue types. When a customer creates a ticket, he/she creates a request type and not an issue type. The issue type is what's underneath the request type though. Even if you try to create an issue type, which is doable, it will not have a value in the request type field and this will not be visible to your queues.
May I ask what is the reason of creating a ticket without a request type? Perhaps if you could explain what you are trying to achieve, we will be in a better position to offer our help.
I don't know the exact reasoning, but it is the process followed by a team which is trying to automate this part of the process through the rest API.
I understand it's not the intended usage, but wanted to check if there was a workaround I hadn't stumbled upon!
From your response, am I correct in assuming this cannot be done via the Jira Service Management Rest API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rob Ardies instead of using JSM REST api, you should use Jira cloud REST api to do the trick. However, as I mentioned to you earlier, without a request type present on the newly created issue, this will not be visible on your project's queue.
Try the following however:
You have to make sure that on your body of the request, all required fields are present.
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.
Anytime!
Kindly mark my answer as accepted, to help others in the community. Cheers!
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.