Fixing Automation Error - Trying to add start date upon status change

iatkinse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2025

Trying to add start date with automation when an issues status goes from ToDo to In-Progress. Right now I get an error due to date format and not sure what to add

Screenshot 2025-03-07 113927.jpgScreenshot 2025-03-07 114046.jpg

2 answers

1 accepted

0 votes
Answer accepted
Jovin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 7, 2025

Hey @iatkinse 

To update the Start Date field all you'll need to input in the field there is below:

{{now()}}

That should help :)  

iatkinse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2025

omg that was so simple and it did work - thanks

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 7, 2025

Hello @iatkinse 

Welcome to the Atlassian community.

The content you are placing in the Start date field is wrong. Just from the portion I can see you are trying to insert into a date field:

- the issue key of the issue that triggered the rule

- a date (using incorrect syntax)

- the Summary field content from the issue that triggered the rule

i.e. You are trying to add to a Date field

ABC-123 <an improper command for a date> Text from the trigger issue summary field

Can you explain the logic or provide the reference documentation that you used the made you think this was correct? I ask so that I can help educate you by explaining how your conclusions are incorrect.

Screenshot 2025-03-07 at 8.46.58 AM.png

 

You can provide a smart value in this field, but it can be only a smart value that specifies a date. You can't add an issue key or Summary text to a Date field. You also can't put a data and time into a Date field.

If you want to set the field to the current date you can use now but you need to format it properly. Reference 

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

Using {{now}} would give you a date and time. To get just the date you need to use a formatting command:

{{now.jiraDate}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events