Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make a copy of your JSM Theme via JEMHC Configuration > Notifications > Themes > Create as shown below. More information how to do this here: Create custom Theme and Template Sets.

    A create pop up should appear. Select your Issue Updated and/or Issue Created template sets (dependant on when you approvals occur) and click submit. Example below:

     

  2. Select the Macro tab to view Theme Macros. Hint: If you need further changes to the CSS click the style tab.

     

  3. Example - Issue Updated (HTML Only). You will need to find the aforementioned jsdMessageContentUpdated Macro and update the condition #if( $jemhUtils.isNewApprover()) to reflect your changes:

    Image Removed

    Then look for jsdMessageContentCreated and jsdMessageContentUpdated macros and modify the approval conditions (usually look for an if condition similar to: #if( $jemhUtils.isJsdApprover() ) to reflect your requirements:

  4. Example - Issue Create (HTML Only).

    Image Removed

  5. renderApprovals macro add a condition to only render the velocity snippet when approval buttons are present:

    Code Block
      #$approvalButtons = $jemhApprovalsManager.getApprovalButtons())set(
      #if($approvalButtons.size() > 0)
          ##Your custom stuff##
      #end


    Example below:

    Image Added

     

  6. Ensure your outbound notifications configuration page has been setup to handle JSM Approvals as per Approving requests via email.

  7. Update your outbound theme to reflect the theme with your Approval Macro Modifications and Submit changes.

     

  8. Validate that your changes have been made in a test email.