Forums

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

Auto-dates in Automation mail

Rahul
Contributor
June 19, 2023

I am sending some data to higher management every Saturday mrng through automation. I have enabled the automation. I have some theory like "Please view the below data as of "Friday"" 

In place of Friday, that week Friday date should be displayed. Any suggestions on this?

1 answer

3 votes
Evgenii
Community Champion
June 19, 2023

Hi, @Rahul 

You can add to date certain amount of time units (seconds, minutes, days, etc...)

So, if you are sending emails at Saturday, you just need to use Smart Value like:

{{now.plus[Unit]([number])}}

For your case it will look like:

{{now.plusDays(6)}}

More information, if you like, can be found here:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

Rahul
Contributor
June 20, 2023

@Evgenii can we make the date in Bold letter

Evgenii
Community Champion
June 20, 2023

@Rahul , yes, it's possible. You can try to use HTML tags, like <b></b>

Insert such text to email body: <b>{{now.plusDays(6)}}</b>

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events