Forums

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

Can I make rules sequencial?

Gabriel Luiz Alves da Silva Deina
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!
March 16, 2020

Hi!

Here in MadeiraMadeira we have an issue that we don't know if it's possible to make it happen or not.

We have a lot of rules, created on the Automation, but we don't know if we can make then sequencial.

An example:

- We have four rules that must happen to assignee the issue to the responsible (lets call them issueOne, issueTwo, ...). We think (this thought could be wrong) that all the automations run at the same time, because the four are supposed to run when the issue is created by the customers.
e.g. Issue is created > Rules run (all together running issueOne, issueTwo, issueThree and issueFour)

What I need to know?

Can we make them happen in a sequential order?
e.g. Issue is created > run issueOne > if (issueOne == false) run issueTwo > if (issueTwo == false) run issueThree > ...

 

Now, to resolve this issue that we're having, we unified the rules in one.

 

On the attachment we have:

- jiraQuestion (the four rules that happen all together and we want do run one after another)

1 answer

0 votes
JimmyVanAU
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.
March 16, 2020

Use custom events.

At the end of rule 1, then fire a custom event.

Then rule 2, the trigger should be changed to listening to this new custom event. You can have all your other if conditions filtering as needed. Alternatively, you can can use if branches in rule 1 to figure out what event to fire, so you can manage all of the IF logic in one place.

You can read more about it here - https://confluence.atlassian.com/adminjiracloud/adding-a-custom-event-776636672.html

Hope that helps

Suggest an answer

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

Atlassian Community Events