Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to BREAK out of an automation rule?

Paul Konen May 28, 2025

I have a need that if a specific {{initiator.displayName}} triggers a rule, that the rule just breaks out and does nothing.

Scenario:

User in JSM transitions a case and that transition is sent to another system.

The other system (out of my control) calls the issue.transition RESTAPI because it saw the state of the case change.  Because the JSM case was "transitioned", it calls the automation rule again.

So effectively, the automation rule is triggered twice.

But it only needs to be executed once.

2 answers

1 vote
Alex Cevicelow May 28, 2025

You can handle this by adding a condition right after the trigger that checks if {{initiator.displayName}} is not equal to "target-display-name". If it passes, the rule continues as normal. If it matches, the rule simply stops and does not continue.

This way, the rule will run for all users except the one you're targeting

Paul Konen June 3, 2025

Thanks.  It will then show No Actions Performed as a nice indication.

0 votes
Marc - Devoteam
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.
June 3, 2025

Hi @Paul Konen 

So your rule is triggered on a transition change.

So you need to have a condition as mentioned by @Alex Cevicelow 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events