Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Duplication of approval mail in case of multiple approval levels

Stefan Stadler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2024

Hi all,

I am facing a very strange behaviour and still try to understand the root cause.

Here is what I am doing:
I have created an approval workflow to be re-used in several different situations. The approval can have up to 3 levels and each level can decide if there is one approval needed or all from that level.

This is working fine with the help of ScriptRunner fast-tracking based on conditions.

Now what is strange:

The users required for the approval are in separate custom fields: Approvers, 2nd Approvers, 3rd Approvers.

For the demonstration, I have added myself as the approver in all 3 fields.

The problem is with the email that is sent: It includes one additional "approval block" from the second level onwards. Meaning the approver in the 3rd stage will get 2 approve buttons in one mail, which does not make sense at all. The first approval level is working fine.

Does anybody has an explanation on why this happens this way?

 

 

1 answer

0 votes
Stefan Stadler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2024

Here are the images as I was unable to add them in the original post:
image.png

 

This is the second mail (and third approval level mail looks identical):

 

image.png

 

Here you can see the workflow. The status "Open" as well as "Preparing 2nd level approval" and "Preparing 3rd Level approval" are all handled by fast-tracks.

image.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.1
TAGS
AUG Leaders

Atlassian Community Events