Does JIRA Cloud support a full regex functionality in the field validator for the status transition?

Kent Chiu
Contributor
January 10, 2025

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

Sample of rich text paragraph content.png

Error message:

Transition fail message.png

1 answer

3 votes
Sahir Maharaj
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2025

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.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events