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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Automation for Jira: Trigger if certain label was added. How?

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?

1 answer

1 accepted

1 vote
Answer accepted

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).

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? 

Misunderstood the issue at hand - I figured it out:

Screen Shot 2020-07-22 at 14.54.05.png

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.

Like # people like this

that did it the trick. thanks for the example.

This does not work for me; would someone be able to provide guidance? 

Automation 1.png

Joost Jonker
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!
Jan 10, 2023

Hi @Michelle Woodbury

I had to use {{fromString}} to make it work. This has probably changed since 2020.

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.

Like Joost Jonker likes this

Suggest an answer

Log in or Sign up to answer