Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use Automation to set Epic's start & end date equal to start & end date of a fixVersion?

I want to create a rule that will update an Epic's start / end date to the start / end date of the fixVersion.  How can this be accomplished?

1 answer

2 votes

Hello @Michael Lichtenstein

Thank you for reaching out.

Per your description, I understand that your Epics are added with two custom fields (Start and end date) which you would like to be automatically filled with the fix version start and end date respectively when a fix version is added to the Epics. Is that correct?

The values from the start date and release date of a fix version can be collected by the following smart values:

{{issue.fixVersions.startDate.jiraDateTime}}
{{issue.fixVersions.releaseDate.jiraDateTime}}

P.S: To ensure the smart values above are going to work, confirm that the current custom fields of your Epic (Start and End Dates) are date & time picker, not only a date picker.

This would be the automation rule:

Screen Shot 2020-10-05 at 17.43.25.png

For more details on how to change the format of the dates provided by the smart values above, you can check the documentation below:

Smart values - date and time functions 

Let us know if you have any questions. 

Hi, 

This is great, but I am having one issue. The populated dates are off by one (one date earlier than what is in the release panel). What could this be from?

Could it be a result of timezone settings?

Hi Michael,

I checked and the system is set in our time zone.

 

Additionally, is there a way to do this without the time? I've tried other smart values, but have had no luck.

Thank you!

Legend, this is exactly what I was looking for.

I was able to use:

{{issue.fixVersions.startDate.jiraDate}}
{{issue.fixVersions.releaseDate.jiraDate}}

To get just the date added to a date picker field. This also fixed the date difference I was experiencing.

Thanks!

This isn't really working for me. any suggestions please?

I am trying to trigger automation when the fixversion custom field value is changed or assigned. then changing start date of the issue to below value.

{{issue.fixVersions.startDate.jiraDate}}

 

(My custom field) Fix versions - Value = 5.2

Releases as below 

5.2
UNRELEASED
Aug 23, 2021
Oct 08, 2021

5.1
UNRELEASED
Jun 21, 2021
Aug 27, 2021

I realize the date value is coming from the smartvalue however start date is not getting updated

ex: 2021-08-23

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Posted in Trello

Taco Tuesday: Your favorite Trello blog takeaway

Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...

60 views 4 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you