Is it possible to get Change approvers for every Service?

Piotr Nawrocki January 23, 2025

We have a Change Management workflow with approval step. Approver is always a group from Change approvers in Service. Is it possible to list all Services with Change approvers or I need to check Services one by one?

2 answers

0 votes
Piotr Nawrocki January 24, 2025

For now, I created a python script:
For every Service:
1. Add service to Incident (ideally in some test environment)

2. run Jira automation to lookup object by name > take change approvers > add them to confluence page

3. remove service from incident

 

0 votes
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.
January 23, 2025

Hi @Piotr Nawrocki 

How is the current setup.

Do you use Assets for this?

Then you could set approvers in assets on the service and based on the service by using automation you could then populate the approver field based on the chosen service.

Piotr Nawrocki January 23, 2025

Yes, we're using assets. Well, setting approvers works fine for us but we have more than 800 services and we wanted to export all of them with Change approvers. Unfortunately, approvers are not included in export and I can't get them through API as well

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.
January 23, 2025

Hi @Piotr Nawrocki 

Are the approvers set on the service in Assets or referenced on the service from another object in assets?

Or have you just used the approvers field and set approvers, then there is no relation between service and approvers.

Can you show setup details (screenshots)?

Piotr Nawrocki January 23, 2025

Approvers are set in Change approvers field, I can access them with {{issue.Affected Services.changeApprovers}} but I can't export them. Is it possible that's because Services are synced with Compass?

Piotr Nawrocki January 23, 2025

here's a screenshot from the place where we set them. we user Service Owners for Reviewers and Change approvers for Approvers (we have 2 step approvals)
image.png

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.
January 23, 2025

What is the config of this field?

Piotr Nawrocki January 23, 2025

Not sure, it seems to be an attribute created by Atlassian, it's not visible under Details, only on edit screen. Also when I get Service details through API it's also not there

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events