Hello,
I am trying to create issues using Jira Automation across our Jira Service Management projects but am unable to find the project ids. I am able to see project ids for Software Projects but NOT Jira Service Management projects.
Where can I find a Jira Service Management Project ID?
I think you are seeking the id of the service desks, these can be found via the REST API.
But only via the Cloud Service Desk API.
API call, token required, https://your-domain.atlassian.net/rest/servicedeskapi/servicedesk
See JSM API -> https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-servicedesk/#api-group-servicedesk
I hope this is the information you are seeking
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The easiest to find the Id for your project is to go to the portal, the Id is part of the URL:
servicedesk/customer/portal/1
That is the Id that you can use with the JSM endpoint to create new request types. And if you are looking for the request type Id you can get that from the portal as well by going to the request type and the URL will have that information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mikael,
Thanks; however, I did see the JSM portal number, but, it is not quite what I am looking for as I am writing an automation that uses the project id to work with both Software projects and Service Management projects.
I am writing a Manual Triggered Automation that allows the user to select the project from the trigger-created list as variable {{userInputs.projects}}. For instance, project ENGSUP would be ENGSUP-[pid], then ENGSUP- is trimmed. This is working brilliantly for Software Projects, so I was hoping to add the support projects into the automation.
{
"fields": {
"project":{
"id": "{{userInputs.projects.substringAfter("-").trim()}}"
}
}
}
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.