Add Approval Summary on linked issues
Follow the steps below in order to setup the Add Approval Summary on linked issues Post Function on a workflow transition:
- Choose → Issues → Workflows
- Edit the concerned workflow
- Select the concerned workflow transition (transition on approbation or transition on rejection)
- Select the Post Function tab
- Add Post Function
- Check the option for the Add Approval Summary on linked issues
- Fill the parameters:
User used to evaluate the applied criteria and to put the final approval reply into a comment in the linked issues Required:
Any of the specified criteria will be evaluated basing on the selected user. Ensure that the selected user has appropriate browsing permission on the projects at whom the current and the related issues belong to.
- The Jira Comment will be added via the selected user credentials.
Issue Link types Required: the Jira Comment will be added on the issues linked to the current issue and matching the selected Outward Descriptions.
Customize the text of the approval log Optional: Here you can customize the Approval Summary by adding an expression that follows the convention described below:
add a text into the { } brackets
add any admissible issue field inside the [ ] brackets. Admissible fields are: Approval Name, Action, Source Status, Transition, Approver, Destination Status, Date and Can Approve Detail
concatenate each element via the &
E.g. {• Source Status: } &[Source Status]& {\\ } &{• Transition Name: }&[Transition]& {\\ } &{• "}&[Approval] &{" }&{: } &[Action]&{ by }&[Approver]&{ on }&[Date] & {\\ }
If this field is not filled, the default is applied. The default Approval Summay Comment appears as follow:
JQL filter for linked issues Optional: the Approval Conditions will be checked only on the issues that satisfy the JQL filter
JQL filter for current issue:Optional: the validator will be checked only if the current issue satisfies the JQL filter.
- Add Summary on current issue Optional: When True, Approval Summary will be added to Jira Comments of the current issue.
In order to allow the post function to work properly, keep in mind to keep it on the top (prior to Set issue status to the linked status of the destination workflow step).
You can Add the Post-function on the transitions on approving and on rejecting.