JetBrains Space
 

Regular Expressions in Custom Fields

Last modified: 20 April 2021

Custom fields can be added to some team directory forms (profile, absence, team membership) and project issues to collect and display additional information.

If you want to add a custom field with a restricted input, you can use regular expressions to create an input mask that will prevent invalid entries and help people enter data into the field in the correct predefined format.

Regular expression (regex or regexp) is a pattern describing which characters can be entered into the field and the order in which they must appear. For example, you can use a regular expression to make sure that people enter correctly formatted phone numbers into a phone number field.