You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Creating post functions template

  1. Log in as a user with the JIRA Administrators global permission.
    Choose  > 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
  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:

Editing validators template

  1. Log in as a user with the JIRA Administrators global permission.
  2. Choose  > 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  > 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  > 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  > 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.
  • No labels