The condition module and the validator module 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:
Go to Settings → Workflows
Select the workflow you want to add a Post function and click “Edit” in the 3 dots on the right.
Click “Edit”.
Now you can either go to the Diagram View or the Text View.
(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 → AddFor Conditions
Transition → Conditions → Add Condition → Condition by Easy for Jira → AddConditions 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.
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.