Forums

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

Automations - Dynamic Subject based on date created

Justin Lehman September 25, 2024

Hello, I first would like to say that we are migrating to the Cloud version next week so my experience at this time is with On Prem.

I want to create an automation for tickets to be created on a weekly schedule for weekly tasks, which I already can do without issue. My ask is, how can I have the date in which the ticket is created automatically populate within the subject to help distinguish the weekly tickets? 

In the example attached, I can create the automation without issue but I would like the value in red done automatically to show the creation date in the subject when the ticket is created.  Any ideas or thoughts would be appreciated, thank you in advance. Automation for weekly ticket created.jpg

1 answer

0 votes
Jan Westphal
Contributor
September 25, 2024

Hello @Justin Lehman

you can use smart values in the clou automation:
https://support.atlassian.com/cloud-automation/docs/smart-values-in-jira-automation/

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

For your case you can get the time by using the smart value {{now}}. You can further format it the following way:

{{now.format("MM/dd/yyyy")}}

tldr: adding the following smart value to your Summary "{{now.format("MM/dd/yyyy")}}" will add the current date to your summary when the issue is created.

Best regards

 

 

Justin Lehman September 25, 2024

Thanks so much. Super helpful!

Suggest an answer

Log in or Sign up to answer