Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Comala sends out 2 e-mails to the reviewers instead of 1

Danny Troka
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2025

Hi,

 

I'm having a issue figuring out why comala sends out 2 e-mails instead of one to the reviewers.

First I receive this e-mail: E-Mail 1.png

Shortly after I receive the first e-mail, I'll get the same e-mail only that it now shows that my colleague S. has been assigned too.E-Mail 2.png

I can't find the issue with my code.

I also cannot manage to put the comment from the author in the e-mail to the reviewer.

Can you please take a look and tell me why I'm receiving 2 e-mails instead of 1?

 

{workflow:name=Review Workflow|adminusers=@Reviewers@|content=pages|key=spaceworkflow--672358521|updatestatus=true}
{workflowparameter:Reviewers|description=Mandatory reviewer|type=user}
so.w,d.t
{workflowparameter}
{state:Draft|colour=#0052CC|hideselection=true|submit=Review|taskable=true}
{state}
{state:Review|approved=Approved|rejected=Draft|updated=Draft}
{approval:Review|user=&@Reviewers@}
{state}
{state:Approved|colour=#14892C|duedate=P1Y|expired=Review|final=true|hideselection=true|updated=Draft}
{state}
{trigger:pageapprovalassigned|approval=Review}
{set-message:user=@user@|style=success}
Dear User, you have assigned @Reviewers@ to review this document.
You will be notified via e-mail once the page is approved or rejected.
{set-message}
{trigger}
{trigger:pageapprovalassigned|approval=Review}
{send-email:user=@Reviewers@|subject=@user@ has assigned @pagetitle@ to be reviewed}
Dear Reviewer,
You have been assigned to review following document: *@pagetitle@*
Please perform review in form of in-line comments.
Remember to Approve or Reject the document after finishing with review.
{pageactivity}
{send-email}
{trigger}
{trigger:statechanged|state=Review}
{set-metadata:submittedby}@user@{set-metadata}
{trigger}
{trigger:pageapproved|approval=Review|partial=true}
{send-email:user=@submittedby@,@author@|subject=@Reviewers@ has approved @pagetitle@}
Dear User,
The *@pagetitle@* has been approved by [@Reviewers@].
*@Reviewers@ commented: @approvalcomment@*
{pageactivity}
{send-email}
{trigger}
{trigger:pageapproved|approval=Review|partial=true}
{set-state:Approved}
{trigger}
{trigger:pagerejected|approval=Review|partial=true}
{send-email:user=@submittedby@,@author@|subject=@Reviewers@ has rejected @pagetitle@}
Dear User,
The *@pagetitle@* has been rejected. Please view the in-line comments and adjust the page.
*@Reviewers@ commented: @approvalcomment@*
{pageactivity}
{send-email}
{trigger}
{trigger:pagerejected|approval=Review|partial=true}
{set-state:Draft}
{trigger}
{workflow}

 

Thanks in advance!

 

Update:

I found the issue and fixed it. 

I changed 

{send-email:user=@Reviewers@|subject=@user@ has assigned @pagetitle@ to be reviewed}

to 

{send-email:user=@assignee@|subject=@user@ has assigned @@pagetitle@ to be reviewed}

and that fixed the issue!

This post can be closed!

1 answer

1 vote
Tinker Fadoua
Community Champion
July 31, 2025

Welcome to the Atlassian Community @Danny Troka !

My best recommendation in this case is to raise a support ticket with the vendor as they know better than anyone else how their App works.

Best,

Fadoua

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events