Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Mailing Campaign

Hello community, I need to tie automatic mailing according to calendar records. 

For example: on May 1, is a client's birthday and I want a personalized greeting
to be sent automatically on that date. Do you know any way to do it?

Thanks for the help

 

1 answer

0 votes

Hello @Ezequiel Namios ,

Thanks for reaching out, and if you have Confluence and Jira set up there is a feature in Confluence called Team Calendars that has this functionality baked in with standard event types including a Birthday list, that you can tie to reminder emails for the events to be sent out based on the calendar item.

If you do not have confluence configured this could be done with Automation for Jira, you would need to set up a Jira issue for each client that has the specific b-day set for the user in your custom field and configure a trigger event that will use a JQL filter based on your date field, and for all tickets that are in results would trigger a Send Email action.   The only issue I see with this is trying to set up a JQL that would capture issues for a future date based on a past date.  For example, the customer's Birthday is in the past 5-1-XXXX but you want the email to send on a different year 5-1-YYYY, a basic JQL looking at the date field will be looking for the specific year as well as month and day.

I played around with the settings a bit and using an advanced compare variable using date and time SmartValues to convert the now date and the birthday variables into a Month and day format "MM dd" in the following format noting the custom field I used for my custom date was named "datepicker1" that you would want to replace with the clients birthday field:

{{issue.datepicker1.as("MM dd")}}

Equals

{{now.as("MM dd")}}

the rule is set up like the following for testing:

Screen Shot 2021-07-22 at 2.22.34 PM.png

Do Note that I was only adding the comment to the issue to verify the date variable output was correct, and the user that is receiving the birthday request would need to be set as the reporter of the issue that contained their birthday details in the custom field.   

So the use case in this scenario would be 1 issue per customer, where the customer is set as the reporter of the issue.  Where the issue contains the user's birthday info, or any other specific info that you wanted to use for various reminders or email campaigns.  Then the only change really needed is additional customizations for the trigger or additional filtering, I would recommend switching the trigger out for a Schedule trigger event to run once daily, to search for the issue via the advanced compare that has a date that aligns with the current day of the month and email a custom message.

I recommend checking out the various smart value options to customize the messaging further for the email output. 

Hope this helps and is what you are looking for.

Regards,
Earl

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Work Management

Atlympic Event: Jira Work Management

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

116 views 1 1
Read article

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