Forums

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

Date Format Error

Cristóbal González
Contributor
May 17, 2024

I Created a Custom Field, image below:

Screenshot 2024-05-17 at 13.29.19.png

I created an Automation to fill this new field with the Fix Version release date. I'm using this value to fill the date: {{issue.fixVersions.releaseDate}}. The automation is returning the following error: "(The Version End Date must be of the format "yyyy-MM-dd" (customfield_10035))"

I tried to select the Date Format for the Custom Field (Version End Date) but I could find how to set. Somebody knows how can I fix this error?

2 answers

2 accepted

2 votes
Answer accepted
Jack Brickey
Community Champion
May 17, 2024

Hi @Cristóbal González , can you try this...

{{issue.fixVersions.releaseDate.jiraDate}}
Cristóbal González
Contributor
May 17, 2024

It worked! Thanks a lot @Jack Brickey

Like Mikael Sandberg likes this
1 vote
Answer accepted
Mikael Sandberg
Community Champion
May 17, 2024

If you add .jiraDate to your smart value it will convert it to the right value:

{{issue.fixVersions.releaseDate.jiraDate}}

Cristóbal González
Contributor
May 17, 2024

Worked! Thank you very much @Mikael Sandberg 

Like Mikael Sandberg likes this

Suggest an answer

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

Atlassian Community Events