Description
This shows how to configure a CLI validator that can prevent a transition from occurring based on the results of a CLI action. In this case, we will check the existence of a JIRA project. This page was motivated from this question: Example of a CLI Validator.
Configuration
- This configuration assumes you have configured a user variable called jira-local that represents the JIRA server and credentials. See User Defined Substitution Variables.
Validator Fail Message
- If the project does not exist, the validator will stop the transition from failing an issue the following message to the user.