The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

RegEx Validation for non-mandatory Field

Malte Kottich
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2026

Hi, this RegEx Valdiation works perfect for mandatory fields:
https://confluence.atlassian.com/jirakb/using-forms-regex-validation-1255454685.html

Can I also validate entries in a non-mandatory field, so also an empty field is allowed? So the regEx would work OR an empty field.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
John Funk
Community Champion
February 16, 2026

Hi Malte,

In an Advanced Form, I would say yes. Mostly give it a try and see!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events