Automation with labels

Ido Cohen September 20, 2023

Hi,
I am trying to do an automation with two labels (or more)

I want the automation to check if a particular label exists when adding a new label.  

e.g., I want the label “resolved” to add a specific comment only if the “software access” label is applied to the ticket and a different comment if the “Hardware access” label is applied

I hope that is clear enough. 
Thanks for the help 

1 answer

1 accepted

1 vote
Answer accepted
Hauke Bruno Wollentin
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.
September 20, 2023

Not sure if I get it right, but maybe this way?

Screenshot (8).png

Ido Cohen September 20, 2023

Thanks for that @Hauke Bruno Wollentin 

i will try it and let you know 

Like Hauke Bruno Wollentin likes this
Ido Cohen September 21, 2023

for some reason the second if does give me to put the comment "under" it it's in direct line to the other steps

Hauke Bruno Wollentin
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.
September 21, 2023

You can move the single action blocks around with the mouse :) 

Ido Cohen September 21, 2023

Every if you added was a if/else block?

Hauke Bruno Wollentin
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.
September 21, 2023

Ah sorry, misunderstood.

The first If: Compare two values is just an If.

The others are one if/else block

Ido Cohen September 21, 2023

that didn't work for me @Hauke Bruno Wollentin 

Hauke Bruno Wollentin
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.
September 21, 2023

Yeah sorry, the first IF condition need to be contains instead of equals

Screenshot (10).png

Ido Cohen September 21, 2023

@Hauke Bruno Wollentin Thanks that worked!
 

Suggest an answer

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

Atlassian Community Events