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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

1,006 views 2 14
Read article

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