Update Status when automations rules are completed.

Jay March 12, 2024

Okay, so we have a few different types of requests that come into our JSM. These are processed by Jira Automations, before the team ever gets to them. However, not all of the tickets will have automations.

Currently we have a status called "Automation Processing" as the first status in the workflow, when the automation is complete I want it to move to a status "Waiting for Support". 

Is there a way to make the change once all the automations have run against the ticket (or if no automation matches)?

1 answer

1 accepted

2 votes
Answer accepted
Patrick Tripodi
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 15, 2024

Hi Jay, 

I use labels for this. 

The first automation will have an If/Else with the last action of the If/Else branch editing the Label field with a specific value, the next automation rule checks for Label field change and then makes sure that Label matches, etc etc 

Still on the first automation, the last If/Else branch will check to see if no automation needs to run, then sets the final label so it will just skip over and move directly to the last automation rule, which transitions and clears the labels. 

So basically all the automations you need to run will trigger with Field value changed on labels and then make sure its the correct label. 

This is the easiest way I have found to achieve this. You can also use a custom field that you can iterate through, 1, 2, 3 etc for example and does the same thing.

Hope that helps


Jay March 18, 2024

Okay, so I want to make sure I understand. A major automation will check for triggers, if the trigger exists it adds a tag, the following automations trigger when a tag is edited and check to see if it's 'their" tag. If non meet the requirements the first automation adds a tag for "no automation" is that correct?

If so, brilliant!

Like Patrick Tripodi likes this
Patrick Tripodi
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 18, 2024

Yep, that's how I do it :) Make sure your rules have the checkbox turned on to run from other automations as well 

Suggest an answer

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

Atlassian Community Events