Versions Compared

Key

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

The condition and validator modules can be found in Workflows.
Unfortunately, this functionality is mandatory to be made using Jira expressions, so there’s no python here.

But we still got your back, the main functionality for JXP’s is covered in there.

To access the Workflow functionality, follow the steps below:

  1. Go to Settings Workflows

  2. Select the workflow you want to add a Post function and click “Edit” in the 3 dots on the right.

  3. Click “Edit”.

  4. Now you can either go to the Diagram View or the Text View.

  5. (Diagram) Click in the Transition you want to add a Post function and follow the diagram below:
    For Validators:
    Transition → Validators → Add Validator → Validator by Easy for Jira → Add

    image-20240317-235828.pngImage Added

    For Conditions
    Transition → Conditions → Add Condition → Condition by Easy for Jira → Add

    image-20240318-001833.pngImage Added

  6. Conditions and Validators is almost the same, with the difference of the Error message in the Validators. So this part is only different in the error message part.
    Now you are in the Validator by Easy for Jira Module, so you should:
    1. Name your Validator
    2. Give your validator a description
    3. Add an error message to popup when the action is not conforming to your Jira expression. (for validator only)
    4. Choose a ready to use module (see below) or write your own Jira Expression.

    image-20240318-000127.pngImage Added

Custom Jira Expression (JXP)

Jira Expressions is the base for conditions and validators in Jira. To develop your own, use the official documentation.

...

Your conditions / validators needs to be Passing to be created, so you need to provide an existing issue key to test towards allied to working JXP, JXPS that fail are not accepted, resulting in error.

The display for testing is
Passing or Error
true or false

To help you develop your custom Jira expressions using fields as your logic components, we added the “fields” section so you know what the field Name, Type and Key is, this is on the right side of your screen.

...

Testing my Validator or Condition

After selecting the module you can set an issue key to test towards, select an existing issue key and once selected, you can change modules or either write custom JXP’s on the fly, it will be updated frequently so you can see when it’s passing or not, you don’t need to be clicking to test.