Forums

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

Use Jira Automation to transition an issue ignoring conditions

Adam Quinn August 7, 2023

Hello Atlassian Community, 

 

I have a workflow that is All to All (JA connected). I have conditions and validators throughout the workflow. 

One of the conditions in the workflow that is on all status is"The field Status will have to be not equal to value 'Cancel'. Same applies for Done. 

This is great, however on occasion an individual will unintentionally move an item to done or cancel and requires admin intervention to move the issue from a Done or Cancel state into another. 

Reviewing Jira Cloud's native automation functionality, we were hoping to bypass the conditions to reopen an issue. Has anyone successfully done this or have any thoughts on the topic? 

We are not open to changing or editing the existing workflow due to it being connected with JA.

Thank you!

1 answer

0 votes
Clark Everson
Community Champion
August 7, 2023

Hi Adam,

Welcome to community!

You wouldn't be able to bypass conditions, you would need to modify the workflow to allow for this.

What you would want to do so to not impact your current workflow would be to add a new workflow transition using some kind of tool like scriptrunner, and have the condition only work for the actor of the automation rule, or a group of actors.

Automation for jira can't bypass condition etc because its functionality occurs after the workflow rather than before or during

In general the best practice is to have the most open workflow possible and when needed use automation for jira as you would for conditions etc. 

Best,
Clark

Nic Brough -Adaptavist-
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.
August 7, 2023

Scriptrunner and others also require you to add the transitions to the workflow before they can use them to bypass others.  But there are ways to protect the new transitions from the humans, so they don't see them.

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