/
Add Approval Summary on linked issues

Add Approval Summary on linked issues


The Herzum Add Approval Summary on linked issues Post Function allows to add a Jira comment on the issues linked to an issue that collected the requested approval replies when this issue transitions in the destination status following the approbations or rejection.

The Jira comment will report the the Summary of the Approvals collected in the current issue.


Follow the steps below in order to setup the Add Approval Summary on linked issues  Post Function on a workflow transition

  1. Choose   →  Issues → Workflows  
  2. Edit the concerned workflow
  3. Select the concerned workflow transition (transition on approbation or transition on rejection)
  4. Select the Post Function tab
  5. Add Post Function
  6. Check the option for the Add Approval Summary on linked issues



  7. Fill the parameters: 
    1. User used to evaluate the applied criteria and to put the final approval reply into a comment in the linked issues  Required:  

      1. 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.

      2. The Jira Comment will be added via the selected user credentials. 
    2. Issue Link types  Required: the Jira Comment will be added on the issues linked to the current issue and matching the selected Outward Descriptions.

    3. 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:

          1. add a text into the { } brackets

          2. 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

          3. 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:

    4. JQL filter for linked issues Optional: the Approval Conditions will be checked only on the issues that satisfy the JQL filter

    5. JQL filter for current issue:Optional: the validator will be checked only if the current issue satisfies the JQL filter. 

    6. Add Summary on current issue Optional: When True, Approval Summary will be added to Jira Comments of the current issue.

(warning) 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).

(info) You can Add the Post-function on the transitions on approving and on rejecting.

Related content