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

How to find a Jira Service Management Project ID

Edie Hovermale
Contributor
October 17, 2023

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?

3 answers

1 accepted

3 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2023

Hi @Edie Hovermale 

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

Edie Hovermale
Contributor
October 18, 2023

Marc,

Yes, this is it! Thank you so much!

Edie

Like Marc - Devoteam likes this
3 votes
Mikael Sandberg
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 17, 2023

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.

2 votes
Edie Hovermale
Contributor
October 17, 2023

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()}}"
}
}
}

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