Forums

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

How to implement different outcomes from Jira automation

Laurence Reynolds
Contributor
June 27, 2022

Hi ,

I want to create an automation rule that does the following:

CHECK CONDITION ONE

IF TRUE

            UPDATE COMMENT AND STATUS ON ISSUE (CANCELLED)

            TERMINATE

CHECK CONDITION TWO

IF TRUE

            UPDATE COMMENT AND STATUS ON ISSUE (CANCELLED)

            TERMINATE

CHECK CONDITION THREE

IF TRUE

            UPDATE COMMENT AND STATUS ON ISSUE (CANCELLED)

            TERMINATE

CHECK CONDITION FOUR

IF NOT TRUE

            UPDATE COMMENT AND STATUS ON ISSUE (CANCELLED)

            TERMINATE

CHECK CONDITION FOUR

IF TRUE

           UPDATE INSIGHT OBJECT

            UPDATE COMMENT AND STATUS ON ISSUE (CLOSED)

            TERMINATE

Can somebody advise whether it is possible to achieve this in an automation rule and if it is possible how to do it.

Thanks.

1 answer

1 accepted

4 votes
Answer accepted
Marco Brundel
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 27, 2022

Hi @Laurence Reynolds ,


by using the IF/ELSE condition in a rule you can get what you want done.

Regards, Marco

Screenshot 2022-06-27 at 14.54.00.png

Laurence Reynolds
Contributor
June 27, 2022

Hi Marco

Unfortunately the IF/ELSE construct is not currently available in the Cloud version of Jira Service Management - at least not in the version I have access to.

Is there any other way to achieve what I want?

Regards.

Larry.

Marco Brundel
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 27, 2022

Hi @Laurence Reynolds ,

Strange, I'm assuming that If/Else block is available in every version. I can't find any difference in the documentation either.
Do you have a screenshot of the choices available when you select 'New Condition' ?

Here's a screenshot of the choices I have available in my own "Standard" version.

Regards, Marco

Screenshot 2022-06-28 at 07.42.39.png

Laurence Reynolds
Contributor
June 28, 2022

OOPS!!!!  Sorry my bad.  I copied my automation rule from an existing rule and I didn't check to see if there was an "If/else block" option I could use to replace the existing "if" condition when looking to inserting the "else" condition.

Humble apologies for wasting your time.

Your help is much appreciated.

Thanks.

Like Marco Brundel likes this

Suggest an answer

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

Atlassian Community Events