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
4,252,403
Community Members
 
Community Events
164
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

0 votes
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

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you