Via an automation rule I have a field called Application. This is a custom Insight field.
For each selected value in this application field I need to set an Affected services (= default field with services from OpsGenie)
Unfortunately the affected services field does only support the set operation and not add meaning all values have to be provided at once.
This works:
{
"update": {
"Affected services" :
[{"set":
[{"id":"{{lookupObjects.first.Service.Service ID}}"}]
}]
}
}
This doesn't:
{
"update": {
"Affected services" :
[{"add":
[{"id":"{{lookupObjects.first.Service.Service ID}}"}]
}]
}
}
Does anyone have creative ideas to solve this?
Snippet of my rule:
