The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
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 Champion
May 11, 2023

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events