Provided Post-Functions
The following post-functions are provided by catworkx Transition Trigger Functions for Jira:
[cwx] Transition Parent To State
Perform a parent issues workflow transition based on the subtask states and types.
Required information:
- Parent Issues Transition Name(s): Enter the parent issues transition name(s) to be executed if this post function is executed. Multiple transition names can be separated by comma.
Only the first transitions found will be executed! - Currents and Siblings Issues State Name(s): Enter the current and sibling issue state name(s) in which the issue must be to fulfill the transition on the parent issue. Multiple state names can be separated by comma.
Enter a "*
" wildcard to match any. - Apply Only To The Following Issue Type(s): Enter (multiple) child issue types which apply. Multiple issue type names can be separated by comma.
Enter a "*
" wildcard to match any. - Apply To All?: Select whether
All
orAny
child issues have to be in the state as defined in "Currents and Siblings Issues State Name(s)" to fulfill the transition. - (optional) Username: Specify a username to run this part of the transition. This is necessary when the user actually does not have permissions the perform the specified transition. If left empty the user executing the transition is used.
- (optional) Resolution: Enter an optional resolution to be used in case the other issues transition requires a resolution.
If you enter an asterisk ("*
") the current issues' resolution is copied to the other issues resolution.
Leave blank if not applicable.
To set the resolution, the target issue's workflow needs to have a step with a screen containing the resolution field on it. - Check all Workflow Conditions/Skip all Workflow Conditions: Conditions in workflow transitions can prevent those transitions from being executed. Select if you want to check workflow conditions or skip them.
Field to function parameter mapping:
[cwx] Transition Child Issues To State
Perform child issues workflow transitions based on the parents state.
Required information:
- Child Issues Transition Name(s): Enter the child issue transition name(s) to be executed if this post function is executed. Multiple transition names can be separated by comma.
- Parent Issues State Name(s): Enter the parent (parent meaning here the current issue, since the parent is meant to be viewed from the child issues point of view) issue state name(s) in which the issue must be to fulfill the transition on the child issues. Multiple state names can be separated by comma.
Enter a "*
" wildcard to match any. - Apply Only To The Following Issue Type(s): Enter (multiple) child issue types which apply. Multiple issue type names can be separated by comma.
Enter a "*
" wildcard to match any. - (optional) Username: Specify a username to run this part of the transition. This is necessary when the user actually does not have permissions the perform the specified transition. If left empty the user executing the transition is used.
- (optional) Resolution: Enter an optional resolution to be used in case the other issues transition requires a resolution.
If you enter an asterisk ("*
") the current issues' resolution is copied to the other issues resolution.
Leave blank if not applicable.
To set the resolution, the target issue's workflow needs to have a step with a screen containing the resolution field on it. - Check all Workflow Conditions/Skip all Workflow Conditions: Conditions in workflow transitions can prevent those transitions from being executed. Select if you want to check workflow conditions or skip them.
Field to function parameter mapping:
[cwx] Transition Linked Issues To State
Perform linked issues workflow transitions based on the current issues state.
If you use this post-function to check the status of siblings of the current issue including the current issue, this post-function has to be executed after a re-index post-function.
Required information:
- Linked Issues Transition Name(s): Enter the linked issue transition name(s) to be executed if this post function is executed. Multiple transition names can be separated by comma.
- Current Issues State Name(s): Enter the current issue state name(s) in which the issue must be to fulfill the transition on the linked issues. Multiple issue state names can be separated by comma.
Enter a "*
" wildcard to match any. - Apply Only To The Following Issue Type(s): Enter (multiple) child issue types which apply. Multiple issue type names can be separated by comma.
Enter a "*
" wildcard to match any. - (optional) Username: Specify a username to run this part of the transition. This is necessary when the user actually does not have permissions the perform the specified transition. If left empty the user executing the transition is used.
- Apply To All Linked Issue(s)?: Select whether
All
orAny
child issues have to be in the state as defined in "Current Issues State Name(s)" to fulfill the transition. - Link Type Name(s): Enter (multiple) link type name(s) that must connect the current and the linked issue(s) (regardless of the direction) to fulfill the transition.
Multiple link type names can be separated by comma.
Enter a "*
" wildcard to match any. - Sibling Issues State Name(s): Enter the sibling issues state name(s) in which the issue must be to fulfill the transition. Multiple issue state names can be separated by comma.
Enter a "*
" wildcard to match any. - Apply Only To The Following Sibling Issue Type(s): Enter (multiple) sibling issue types which apply. Multiple issue type names can be separated by comma.
Enter a "*
" wildcard to match any. - Apply To All Sibling(s)?: Select whether
All
orAny
sibling issue(s) (linked from the linked issue(s)) are required to fulfill the transition.
Link Type Name(s) of Sibling(s): Enter (multiple) link type name(s) that must connect the linked and their linked issue(s) (regardless of the direction) to fulfill the transition. Multiple link type names can be separated by comma.
Enter a "*
" wildcard to match any. - Link Direction: Select whether only inward or outward or any issue links of the selected link type should be checked.
- (optional) Resolution: Enter an optional resolution to be used in case the other issues transition requires a resolution.
If you enter an asterisk ("*
") the current issues' resolution is copied to the other issues resolution.
Leave blank if not applicable.
To set the resolution, the target issue's workflow needs to have a step with a screen containing the resolution field on it. - Check all Workflow Conditions/Skip all Workflow Conditions: Conditions in workflow transitions can prevent those transitions from being executed. Select if you want to check workflow conditions or skip them.
Field to function parameter mapping:
[cwx] Transition Issues via JQL
Perform workflow transitions on issues determined by a JQL search.
Required information:
- Child Issues Transition Name(s): Enter the child issue transition name(s) to be executed if this post function is executed. Multiple transition names can be separated by comma.
- (optional) Resolution: Enter an optional resolution to be used in case the other issues transition requires a resolution.
If you enter an asterisk ("*
") the current issues' resolution is copied to the other issues resolution.
Leave blank if not applicable. - (optional) Username: Specify a username to run this part of the transition. This is necessary when the user actually does not have permissions the perform the specified transition. If left empty the user executing the transition is used.
- Find Issues via JQL: Enter a JQL query to find issues to transition.
- Find Sibling Issues via JQL: Enter a JQL query to find sibling issues of the issues to transition. If left empty, no siblings are checked.
- Apply To All Sibling(s)?: Select whether
All
orAny
sibling issues have to be in the state as defined in "Siblings Issues State Name(s)" to fulfill the transition. - Sibling Issues State Name(s): Enter the sibling issues state name(s) in which the issue must be to fulfill the transition. Multiple issue state names can be separated by comma.
Enter a "*
" wildcard to match any. - Check all Workflow Conditions/Skip all Workflow Conditions: Conditions in workflow transitions can prevent those transitions from being executed. Select if you want to check workflow conditions or skip them.
Field to function parameter mapping: