Example of a CLI Validator

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: CLI Action Validate Handling Error Response.

Configuration

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.