It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Send e-mail to users defined in Page Properties

Hi!

In a workflow, is there a way to send an e-mail to users mentioned in a table inside a Page Properties macro?

We've tried to do it directly in the send-email macro via the user parameter but with no luck... and looked a bit around the web but no luck either.

As an example imagine the following:

In the Page Properties macro:

| Director | @Ultron |

In the workflow markup:

{trigger}
   {send-email:user=@Director@|subject=@pagetitle@ pending for approval|mimetype=text/html}

   Dear @Director@,

  @user@ is requesting your approval for the page @page@. Could you please take a look


   Kind regards,

   The KM team

   {send-email}
{trigger}

If the Director parameter is replaced by the username it works fine. We've also tried using address instead of user in the send-email macro but it also doesn't send any mail.

If someone sees what can be wrong could you please let us know? This would be a cool feature to deliver to our client.

We are using Comala Workflows 4.18.2 and Confluence 6.4.2.

Thanks.

1 answer

1 accepted

0 votes
Answer accepted

Dears, please disregard the message above. For some reason, without changing the code for the send-email macro it started working, therefore it's fixed.

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

2,117 views 4 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you