Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

There are REST API to update a Service Owner in a ITSM project

Marco Raminelli
November 12, 2024

We have a lot of service projects, everyone associated to a service. To avoid manually change the owner or the stakeholder when people change in the projects, we would like to create a script runner automation to update these fields, something like

PUT /rest/servicedeskapi/servicedesk/{serviceDeskId}/service/{serviceId}

{ "stakeholders": [ { "accountId": "account-id-of-stakeholder-1" }, { "accountId": "account-id-of-stakeholder-2" } ] }

 

and 

 

 

GET /rest/servicedeskapi/servicedesk/{serviceDeskId}/service

 

to get the list of services

1 answer

0 votes
Sandro Leone - EPS
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 Champions.
March 31, 2026

Are you by chance maintaining these services currently in your Assets (part of Jira Service Management)?

If yes, you should be able to set the owner as a user-attribute on the object and keep it up to date with an automation rule.

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