How to send an automatic email from confluence when a task is complete

Sean Gatenby
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!
May 21, 2024

Hello,

I've been playing around with the automation, and have set a rule that sends an email once the checkbox has been ticked (when: manually triggered, then: send email). This is working fine, but I am struggling with the automation of the email content.

I want the content of the email to include the content of the cell that the checkbox was in, followed by the user who checked the checkbox to trigger the email. Below is an example of what I have tried, but only the manually written text "completed by" comes through in the email.

{{task.id}} {{task.contentId}} {{task.body}} completed by {{user.fullName}}

Any help would be greatly appreciated

Thanks

1 answer

0 votes
Sudarsana G
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.
May 21, 2024

Here's an example of how you can structure the email content:

The checkbox task "{{issue.comments.last.body}}" has been completed by {{initiator.displayName}}.

Sean Gatenby
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!
May 21, 2024

Hi Sandra,

Thanks for the suggestions. I tried this, and all that came through in the email was: 'The checkbox task "" has been completed by .'

Do you know why it ignores all the commands in the email content? None of them seem to do anything

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events