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

Adding affected services using automation

Damian Martin October 12, 2022

As part of my automation process, an incident ticket is raised in our service project board. The affected services are selected on the helpdesk form (services from Opsgenie) and copied from the helpdesk ticket to the incident when the new incident is created automatically.

 

I want to add an additional service automatically, for example, if the reporter selected a service called "Outlook emails" I would also want another service called "infrastructure Services" automatically added.

 

I have tried using the inbuilt Edit issue option and setting it there but it does not allow you to append to the existing services and just overwrites whatever value is there

 

I have added 2 steps

1) Set Value "infrastructure Services"

2) Add another "Edit issue" for "affected services" with the following settings

"Copy from trigger issue" with the checkbox "Add to existing Values" checked

 

If seems both option replace the values rather than append

 

I then tried the additional fields using JSON

{
"add": {
"Affected services": {
"add": "b:YXJpOmNsb3VkOmdyYXBoOjpzZXJ2aWNlLzE0YWU1MWFhLTA4NjAtMTFlYi1hMjdkLTBhNzdmM2Y0NTMwNC85MTM0NTgwNi1mNjAxLTExZWMtOWE3Mi0xMjhiNDI4MTk0MjQ="
}}
}

I have tried adding the id of the service from opsGeine  "b:YXJpOmNsb3VkOmdyYXBoOjpzZXJ2aWNlLzE0YWU1MWFhLTA4NjAtMTFlYi1hMjdkLTBhNzdmM2Y0NTMwNC85MTM0NTgwNi1mNjAxLTExZWMtOWE3Mi0xMjhiNDI4MTk0MjQ=" and the friendly name "infrastructure Services",

 

Have also referenced the field I am referencing by the custom field name as well as the friendly name for the field "Affected services"

The Audit log shows the following error

No fields or field values to edit for issues (could be due to some field values not existing in a given project):

 

 

1 answer

0 votes
Manohar Kurapati
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 15, 2023

Hi Damian, Have you had any success with your request? I was also searching for a solution for a similar use case.

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