Hello all
Please help / support : Need a set a following action in Automation Rule :
- there is custom field : "Solution Validation Target End" that contains of date
- Need to setup other field by increasing "Solution Validation Target End" by 2 weeks (10 working days / or 14 days).
Please advise - what smart value / how to write the Action ?
Thank you in advance !
You can set a field in the Edit Issue action component. Choose the field to set and enter the smart value.
Check out the smart value docs here
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/
There is a section showing how you can add time to a date
Takes the given date and time, adds the number of the unit specified, and returns the resulting date and time. The units that can be used are:
Millis
Seconds
Minutes
Hours
Days
Weeks
Months
Years
BusinessDays (business days are considered to be Monday to Friday, 9am to 6pm)
{{sprint.startDate.plusDays(14)}}
If the current value of {{now}} is 2020-08-20T13:12:03.1+0000:{{now.plusHours(1).shortTime}}
//returns 2:12 PM
{{now.plusWeeks(3)}}
//returns 2020-09-10T13:12:03.1+0000:
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.