Hi,
We are experiencing an issue with the Regex field validator in the JIRA transition workflow.
Could anyone help identifing why the following Regex fails?
^(?!\s*$)(?!\b(tbd|TBD)\b)(?!\.).*
The Regex enforces the rules not allowing an entry to the field:
- Begins with a "." (period)
- entry with "TBD", or "tbd" only
- Entry with spaces only.
I have tested the Regex using the online Regex validator and it passed the test. However, it failed when I applied to the JIRA transition field validator.
Does the JIRA field validator support the full functionality of Regex?
The text I used for testing is shown in the attachment as an image. It has a rich text format paragraph with bullets.
The error message shows as: the content does not match regular expression ^(?!\s*$)(?!\b(tbd|TBD)\b)(?!\.).*
I appreciate your help.
Regards,
Kent
Error message:
Hello @Kent Chiu
Based on my limited experience, Jira Cloud’s field validators may not fully support all regex features, particularly for complex patterns like negative lookaheads.
While your regex seems valid in standard testers, Jira might have constraints or escape requirements affecting its behavior.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.