We are using JMWE validators to validate different field conditions on certain transitions.
Issue:
We have a validation that checks if a text field (rich text) is empty. When the field is empty, the transition is cancelled and a notification is displayed.
This works correctly initially. However, the problem occurs when we fill the field with content and then delete all the content (leaving it empty) - the JMWE validator seems to interpret this as a non-empty field, even though it appears empty.
Testing:
We tested this with Jira's native field validator, and that validation correctly detects when the field is empty after content deletion. However, we need to use the JMWE validation because we only want to validate issues that meet certain conditions (functionality not available in Jira's native validator).
Question:
Has anyone experienced this issue with JMWE validators and rich text fields? Is there a workaround or specific configuration needed to properly detect when a rich text field is truly empty after content has been deleted?
Any help would be appreciated!