Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How NOT to send mail when a variable is empty


I've read this article and it's ok how to create variable by report and send it by mail.

But how can I do to DON'T send an email if after report the variable is empty?


For example I don't want send any mails if I have not any overdue task. 

1 answer

I try to explain better:

I've this scheduled task:

"every day, create a report in variable "reportOverdue" with all cards with an overdue due date, and send an email notification to every member on the board with subject "Overdue" and message "Overdue Cards:\n{$reportOverdue}"


It works but it sends always an email everyday also if there's not overdue cards.

I would like that if there's no overdue cards it doesn't send any mail.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,397 views 28 41
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