Workflow validator doesn't work on approval step transitions


Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

 

Summary

Learn why workflow transition validators included in an approval step are not applied. For example, you configured a workflow transition that has both a Field Required validator and also an approval step. The approver can approve or decline the request even if the required field is empty.

Approval steps bypass workflow validators

Approval steps bypass workflow transitions. This is an expected behavior, and there is a feature request to improve this:

  • JSDCLOUD-6988 - Approval steps should not bypass workflow validator

Work around this limitation

As of now, it won't be possible to enforce the validator on the same transition as the approval step.

As a workaround, use two transitions instead: one to validate the required fields, and another transition with the Approval step.

Last modified on Jan 16, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.