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".
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?
@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.
Hi Everyone, In this tutorial, we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached. SLA Threshold Trigger The SLA t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events