I'm attempting to have the affected services tied to labels. Currently I've tried via automation "when value changes for affected services" "then edit issue fields labels = copy from trigger issue". This only seems to take into account 1 affected service, not multiple. Any suggestions?
Hi @Brian Ratte ,
You could try to create an "Advanced Branch" in your automation rule, that loops over the "Affected Services". For example, suppose you want to add a label with the name of each services to your ticket.
You first create an "Advanced Branch" that retrieves the affected services from the issue with a smart value, and places that value in a variable (ex. myServices).
And then you add an "Edit Issue" action in the loop, that adds the name of the service as a label to the ticket.
Best regards,
Kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Brian Ratte ,
In your "Edit issue" action, please make sure the label is "added" to the issue, and does not overwrite any existing label (ADDREMOVE).
Best regards,
Kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the trigger for the automation rule? Is it triggered each time a service is added ?
Which service did you add last ? Was it "Dimension" ?
Can you check if the automation rule was actually triggered and check what's in the logging.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kris Dewachter I chose the below, as I wanted it triggered on creation, and addition. It looks like the last one added is what is missing. 1 and 2 were added but not 3rd (in this case dimension). I tried another in alphabetical order and the last was not a label.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Brian RatteCan you check the audit log of the automation rule to see if it actually executed and what has been done.
You can also add the "Log Action" action to your automation rule to add some more logging.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Kris Dewachter good to know about the extra logging. My peer @Briana Prescott was able to come up with this and it worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found this article very useful. I followed the steps above and got it working but there is one issue that I found that prevents the Automation to work. In our case, the naming convention for some of our Affected Services consist of multiple words e.g. "Active Directory". The Automation will not work in this case since Labels does not recognizes spaces. Is there a work around for this you can share by any chance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.