Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I adhere to workflow transition validation when using automation?

Jack Dawkes
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!
September 20, 2024

I have an automation set up that transitions issues that have the status Blocked to Reopened when a blocking issue is transitioned to Resolved. This is working well except for one specific issue type. For these issues to transition from Blocked to Reopened a comment must be added, this is the workflow transition validation. The automation does comment on the issue that gets reopened but only after the transition, not as a part of it. So the affected issues will get a comment but they will remain in the status Blocked.

Is there a way for my automation rule to adhere to workflow transition validation? 

 

1 answer

1 accepted

5 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 20, 2024

Hi @Jack Dawkes , I am assuming you are using Issue transitioned as the Trigger for your Automation rule so the validation will occur before the rule is even triggered. One option you could consider would be to create a hidden transition that is only available to automation that does not have the validator.

Jack Dawkes
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!
September 20, 2024

Yes and no, the rule does trigger of a transition but multiple issue types can transition between these status and only one of them has this validation. If that issue type was triggering the automation then it wouldn't be an issue because whoever did the transition would have to do it manually and they would have to adhere to the validation. This is getting stuck at the end of the automation with an action being to transition the issue to reopened. 

However I have just solved this myself. Turns out you can just tell the automation transition action to ignore conditions, I just hadn't seen this option. Checking that box fixed my problem. 

IgnoreConditions.JPG

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 20, 2024

Cool! I have not seen that either. Glad they added this.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events