Page tree

Versions Compared

Key

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

Creating post functions template

  1. Log in as a user with the JIRA Administrators global permission.
    Choose Image Added > Issues. Select Workflows > Validator Templates to open the Validator Templates page.
    (info) Tip: Use Keyboard shortcutg + g + start typing post function templates
  2. Click the Add Template button. Dialog displays the Template's Name and Description fields. 
    Also you can insert a message for users that will be displayed when validation would fail
    Image Added
  3. Fill in the fields and confirm with Add button
    (info) Note that newly created template is inactive as default

Adding Validators to Validator Template

  1. To define your template you need to add desired validators.
    Select Add Validator button to open the list of available conditions to choose from. Click on the chosen one and confirm it with the Add button
  2. Unique feature of our plugin is that you can construct complex conditions by grouping and nesting validators - the same as in conditions templates. In order to do so you need to change any validator into a group by clicking the 'Add grouped validator' icon for the validator:

Image Added

Editing validators template

  1. Log in as a user with the JIRA Administrators global permission.
  2. Choose Image Added > Issues. Select Workflows > Validator Templates to open the Condition Templates page.
    (info) Tip: Use Keyboard shortcutg + g + start typing validator templates
  3. Click the Edit Template button.

Disabling template

Once your template is active you can always disabled it.

  1. Log in as a user with the JIRA Administrators global permission.
  2. Choose Image Added > Issues. Select Workflows > Validator Templates to open the Condition Templates page.
    (info) Tip: Use Keyboard shortcutg + g + start typing validator templates
  3. Click the Edit Template button.

Importing templates

  1. Log in as a user with the JIRA Administrators global permission.
    Choose Image Added > Issues. Select Workflows > Validator Templates to open the Condition Templates page.
    (info) Tip: Use Keyboard shortcutg + g + start typing validator templates
  2. Click the Import button.
  3. Choose XML file you want to upload and than accept your choice with Import button.

Exporting templates

Already created templates can be exported any time to XML file to your drive. In order to do so:

  1. Log in as a user with the JIRA Administrators global permission.
  2. Choose Image Added > Issues. Select Workflows > Validator Templates to open the Condition Templates page.
    (info) Tip: Use Keyboard shortcutg + g + start typing validator templates
  3. Select template that you want to be exported and click Edit in Operations section
  4. As soon as you choose Export button, your template will be downloaded.