regular expression field validator for Jira Service Desk customer portal


Can someone recommend me a regular expression field validator which will validate a custom field on the customer portal? I have tried using the 'JIRA Suite Utilities' plugin but the problem is the customer sees the error message, which is unreadable to them, e.g. 


Field Account Number with actual value 12345 does not match regular expression \d{8}-\d{3}-\d{1}-([1-57-9]\d{2}3\d{5})-\d{1}"

The requirement is user cannot submit a ticket if the account number does not pass the correct format. JIRA Suite Utilities does that, the error message is non-configurable though.

Any recommendations is appreciated, whether it's a custom field or a workflow validator.


Thanks in advance!




1 answer

Found it. Kind of a screwy way of getting this to work as the links for the documentation are incorrect, and it's hard and time-consuming to find any additional info on this. Hope it helps someone else smile

  1. go to
  2. Click on 'Get it now' button  in the right top corner. This will download uniqueregexfield-1.2.4.jar
  3. Put this jar in the 'installed-plugins' directory in your JIRA install
  4. Re-start the service 
  5. Follow the documentation here: It is outdated, but the principles are the same: 
    1. add a custom field 'Unique regex custom field'

    2. Configure it via Administration - Add-ons - Unique Regex Fields

      Even though you are supplying your custom error message, the error message that is displayed to the  customer is this "Please provide a valid value for field  'xxx'".


      Other than that - works like a charm!



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 13 hours ago in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

18 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you