Is it possible to make a transition trigger respect the transition validators?

I have created a workflow that has a transition from In Review to Resolved.

This transition has a trigger, when a Stash Pull Request is Merged, then the JIRA will transition to Resolved.

The transition also has a validator that ensures that a few specific fields are filled out before it will allow the transition to Resolved.

However, when the Pull Request is Merged, it transitions to Resolved even if the validator doesn't pass.

Is it possible to make the trigger respect the validator? And is it possible to make it so the Merge won't go through if the validator fails?

1 answer

1 accepted

1 vote
Pedro Cora Atlassian Team Apr 16, 2015


At the moment, triggers will not respect conditions and validators as described on:

When a transition is triggered automatically, it ignores any conditions, validators or permissions configured on the transition.

However, post functions are still executed. You need to be careful that if your post function requires a user, that your transition will not be executed by an anonymous user (see user mapping section above).

Thanks for the answer, this is what I figured. Is there any future plan to have the triggers respect the validators? Is there a bug report or feature request or something that I can follow? Do you know of any add-ons that can help us get close to this functionality?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,296 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot