Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
excludeSee also

Regular Expression custom field enables you to validate a text custom field against a regular expression. This field is useful to check the following information for instance: Social Security Numbers, phone numbers, zip codes, currency, date formats, and so on.

Configuring PCF - Regular Expression custom field

...

  1. Click Add the PCF Regular Expression custom field and select Regular Expression Field.

Image Removed

...

  1. Go to the Configure link for this field. You will see the page like the following example:

Image RemovedImage Added

5. Click the Edit Regex link to configure the regular expression.

Image RemovedImage Added

6. Click the Save button, and the regular expression will be associated to the current custom field.

Image RemovedImage Added

Using PCF - Regular Expression custom field

  1. Go to an issue and edit the field with a value that does not match the regex.

...


  1. Image Added
     

...

  1. If you try to save the changes, an error message appears. Otherwise, here are some usage examples for this type of custom field.

    Image Modified

...


  1. For more regex examples use the search from RegExLib.

See also

Adding PCF Custom Fields