You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am struggling with a case, where I would like an automation rule to trigger if a certain label was added. I can use the "field value changed" trigger, but this doesn't allow to check if some specific label was added or removed. How do I do this?
Hey @flaimo - you are almost there!
When: Value changes for "Labels"
If: Labels contain any of (Label of your choice)
Then: Actions you want performed
this doesn't work. it triggers every time, regardless if the label was added, or if it was already there before (and the rule was triggered because another label was added).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It will always be triggered because a value changed - the important thing here is if the IF condition kicked in or not :) do you mind sharing your current recipe?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Misunderstood the issue at hand - I figured it out:
So you basically have to make a double IF check here comparing the fieldChanged before and exclude it from the trigger if it was already there.
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.
This does not work for me; would someone be able to provide guidance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had to use {{fromString}} to make it work. This has probably changed since 2020.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you use fromString, you may risk having a "true" condition if there is a label that contains all the text of the string you're checking.
Eg: For_qa_validation in labels, if you check for qa_validation it would still match although there is no label with just "qa_validation.
I was trying to use the raw value {{fieldChange.from}}, but it does not seem to do the trick now.
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.