How to use the start date smart value for automation rules?

Oliver Trang
Contributor
April 11, 2023

Hello.

can someone explain why the following smart values don't work/ don't return a result?

I need the following calculation "End Date" = "Start Date + 4 weeks". My problem is, that the start date which the Team sets isn't always the same day - That's why I want to avoid replacing "issue.startDate" with "now" as smart value

According to the Log, the rule was successfull, but when I check the "End Date" field in the ticket, the field is empty.

However if I replace "now" with "issue.startDate" the automation rule actually works and returns the correct date. Using only "start.Date" doesn't work either.

Thanks for your feedback!

 

startdate_smartvalue.jpg

1 answer

1 accepted

4 votes
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.
April 11, 2023

Hi @Oliver Trang 

Try to write

{{issue.Start Date.plusDays(4)}}
Oliver Trang
Contributor
April 11, 2023

Hi @Alex Koxaras _Relational_ 

thanks for your response. That was actually the only option, which I haven't tested out and it worked!

Suggest an answer

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

Atlassian Community Events