Set DueDate based on FixVersion

Tanya Fraser May 9, 2023

I have an automation designed to set the due date automatically based on FixVersion but I can't get it working for me. 

The automation says:
When the Value changes for Fix Version

Edit issue fields Due date, {{issue.fixversion.releaseDate.format("d/MMM/yy")}}

 

The automation says that it is successful and the Associated items field value says it is changed. 

But when I go to the issue, the due date field is empty 

 

The date field I have (d/MMM/yy) is the date field in the system. Is it possible my Release date format and my due date format are different? 
Any help gratefully accepted!

2 answers

1 accepted

1 vote
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 9, 2023

Hi @Tanya Fraser 

Try {{issue.fixVersions.releaseDate.format("yyyy-MM-dd")}}

Tanya Fraser May 10, 2023

Perfect, thank you!
Works now

0 votes
Tanya Fraser May 9, 2023

I tried using jiraDate.
Also says that the automation is successful, but there is nothing displayed in the DueDate Field.
Tried using a custom field "End Date"
Same result - the automation says that it is successful but the field has no date.

 

By the way, the Releases have release Dates populated

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 11, 2023

Place a log component on the value you try to place on the End Date.

Suggest an answer

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

Atlassian Community Events