You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Evaluate issue links and hide transitions based on the outcome.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.


Jira expression*

issue.links.filter(link => link.type.name == "Blocks"  ).length == 0

The current issue must not have a link of type "Blocks".

You can easily modify this use case to include / exclude additional parameters.

Jira expression*

(issue.links.filter(link => link.type.name == "Blocks"  && link.linkedIssue.resolution != null).length == 0)

The current issue must not be linked to any unresolved blocking issue.

Jira expression*

issue.links.filter(link => link.linkedIssue.status.name == "Done").length == issue.links.length

All linked issues must be in the status DONE

Jira expression*

issue.links.filter(link => link.linkedIssue.issueType.name == "Bug" && link.linkedIssue.resolution != null).length == issue.links.filter(link => link.linkedIssue.issueType.name == "Bug").length

All linked bugs must be resolved.



If you still have questions, feel free to refer to our support team.