Hi team,
I am really new to Jira and using Jira Service Management.
I am trying to create an incident from ServiceNow using REST API. For that, I have used the below body.
{
"serviceDeskId": "3",
"requestTypeId": "3",
"requestFieldValues": {
"summary": "Request raised via service REST API",
"description": "test."
}
}
I am not sure what put in serviceDeskId and requestTypeId. Where do I can find those IDs.
Thanks in advance.
The quick and easy way to do it is go visit the portal you want to use and look at the urls.
For example, if I go to a portal, and click on a request to raise, I land on a url like:
https://somewhere.atlassian.net/servicedesk/customer/portal/10/group/229/create/664
The numbers in there are:
So, you would need:
{
"serviceDeskId": "10",
"requestTypeId": "664",
You can get these ids by looking at the project/portal admin as well, but this "start a request" url is quicker
Thank you so much, Nic. I got the id from URLs as you mentioned.
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.