Forums

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

Which is a valid @user reference for the user that last modify the page?

Maria Petkova
Contributor
November 2, 2023

Hi,

I am using the Comala workflow and want an email to be triggered on both rejection and approval of a page to the last person who contributed to that page. 

I am successfully sending emails but to authors of the page, and I was not able determine the correct reference to replace 'author' in the triggers. I tried using  'lastmodifier', 'changedby',  'modifiedby'. None of them works.

So, what should I replace the 'author' in the following trigger with?

{trigger:pagerejected|approval=Review|partial=true}
{send-email:user=@author@|subject=Rejected Page}
@page@ has been REJECTED!
{send-email}
{trigger}

1 answer

1 accepted

4 votes
Answer accepted
Maria Petkova
Contributor
November 2, 2023

:) I found it out. The reference should be only: modifier

So, the trigger that works for me is:


{trigger:pagerejected|approval=Review|partial=true}
{send-email:user=@modifier@|subject=Rejected Page}
@page@ has been REJECTED!
{send-email}
{trigger}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events