Excerpt |
---|
A workflow condition that allows you to hide/show a particular transition from the list of available workflow actions based on the issue's linked issues. |
The transition to which the condition is added will be available only if the issue's linked issues respect certain conditions.
Note |
---|
|
To add 'Linked Issue(s) Condition' to a transition:
- Click Edit for the workflow that has the transition you wish to configure the condition on.
- In the Workflow Designer, select the transition.
- Click on
Conditions
in the properties panel. - Click on
Add
condition
. - Select
Linked Issue(s) Condition
from the list of conditions. - Click on
Add
to add the condition to the transition. - Input a
Jira expression
that returns a boolean value. - Click on
Add
to add the condition to the transition.
When you add this condition to a transition, the add-on checks the specified condition on the linked issues that are of the specified issue link type and issue type; all the other linked issues will be considered as satisfying the condition. You can further customize the condition using the following options:
What to validate
- Require certain linked issues: The transition is hidden if linked issues respecting the constraints below do not exist.
- Check linked issues: If the specified linked issue(s) exist, the transition is hidden unless these linked issues respect the constraints below.
Issue Link Type
Select the issue link type that links the current issue to the linked issues to check the specified condition against.
What to enforce on linked issues
Issue Type
Select the issue type of the linked issues to check the specified condition against.
Additional condition
None: Select this option for no additional condition
At least one linked issue must satisfy the condition below: Select this option for at least one linked issue to satisfy the condition specified under Jira expression below.
Jira expression: Input a Jira expression to be checked on all linked issues. If the Jira expression evaluates to true
for at least one of the linked issues, the workflow condition will pass. If the Jira expression evaluates to false
for all the linked issues the workflow condition will fail. See How to insert information using Jira expressions for information on writing a Jira expression.
Every linked issue must satisfy the condition below: Select this option for every linked issue to satisfy the condition specified under Jira expression.
Jira expression: Input a Jira expression to be checked on all linked issues. If the Jira expression evaluates to true
for all linked issues, only then the workflow condition will pass. If it evaluates to false
for at least one linked issue the workflow condition will fail. See How to insert information using Jira expressions for information on writing a Jira expression.
Note | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
When a Jira expression throws an error, Jira considers the result as
|