Polarion offers the built-in Work Item workflow function
LinkedWorkItemsStatusChange that can change the status of linked Work Items. However, this workflow function directly changes the Work Item status and does not perform the workflow actions.
Consequently, configured workflow conditions are not checked and workflow functions are not executed. In contrast to that, the
ExecuteLinkedWorkItemsAction Work Item workflow function lets you configure the workflow actions of linked Work Items that shall be executed on a status change.
The available parameters are:
|link.roles.direct||Comma-separated list of outgoing link roles to check. Either direct or back needs to be specified.|
|link.roles.back||Comma-separated list of incoming link roles to check. Either direct or back needs to be specified.|
|origin.states||Comma-separated list of origin states of the linked Work Items for which the action shall be performed.|
|origin.negate||Optional: If the parameter is set to true, the origin.states are not included but excluded. (default: false)|
|target.state||The single-target state to which the linked Work Item shall transition.|
|action.id||The ID of the action that shall be performed for the status change. If the action is not available or cannot be executed, the status change is canceled.|