Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Regular Expression Precondition

Ā 

JSU for Jira Cloud

This is the documentation of JSU for Jira Cloud. If you are using JSU on Jira Server/Data Center, see our Server/Data CenterĀ documentation.

Description

The 'Regular Expression Check' compares the value of a text, number, or URL field against a regular expression. You could verify that the content matches a given format with it.

Configuration

You must select the field to be checked and enter the regular expression. For example:

Ā 

  • [0-9]{4}-[0-9]{4}Ā allows numbers such as: 1245-7783

  • [0-9]+ EUR$Ā allows price tags such as: 34 EUR

  • [a-z]*Ā allows an empty string, or any lower case word such as: yellow

  • Option [A,B]Ā allows a selection of options: Option A, Option B or both.

Detailed documentation on regular expressions can be found inĀ Oracle's documentationĀ for a technical documentation, or atĀ regular-expressions.infoĀ for a more straightforward description.Ā Another good resource for developing and testing regular expressions isĀ freeformatter.com.

Example

A workflow is configured so that the 'Create' transition has the 'Regular Expression Check Precondition'. If the summary contains the phrase "Onboarding" or "onboarding", a sub-task will be created for the creation of the user account in the company's systems.

Supported Field Types