- edited description
Usage of 'Validation based on JQL query' validator
I want to allow a transition in a workflow only if all the linked issues of type XPTO to this issues are in the state "ACME". Otherwise, the transition must be prohibited. Is this validator the best option? How can I do this? Thanks in advance. Antonio.
Comments (6)
-
reporter -
repo owner Hi @acelsoddbr,
You can implement the validation using "Validation on linked issues" with the following configuration:
- Issue link types: select issue link types
- Issue types for linked issues: select
XPTO
. - Statuses for linked issues: select
ACME
. - Resolutions for linked issues: don't select anything.
- Filtering by field values: keep empty.
- Minimum required number of issue links:
0
- Maximum allowed number of issue links:
999
- Allow unselected issue link types: CHECKED
- Allow unselected issue types: CHECKED
- Allow unselected statuses: UNCHECKED
- Allow unselected resolutions: CHECKED
- Allow unsatisfied condition on field values: UNCHECKED
-
reporter Just a small doubt on the parameters you informed: my need is to have ALL the linked issues in the state ACME. So, I ask you if the parameter "Minimum required number of issue links" set to zero as you informed, will respect the requirement of ALL linked issues been on the desired state. Thanks and greetings.
By the way: I added a comment to the issue
#481that is already closed. Please, could you check it? Thanks again.Antonio.
-
repo owner Hi @acelsoddbr,
Yes, "Minimum required number of issue links = 0" will respect your requirements, since it simply means that if there isn't any linked issues, the validator will also be passed.
-
reporter It works fine, thank you! Antonio.
-
reporter - changed status to resolved
It works fine, thank you!
- Log in to comment