Hi
We have a custom field date (Deadline) that is populated by a user and another custom field date (Sample Delivery Date) that we would we like Scriptrunner to auto populate with a 2 weeks (14 days) 'before' Deadline date value.
For example: I add 15/07/21 as my 'Deadline' date and SR auto populates/calculates value of 'Sample Delivery Date' as1/07/21.
I would like this relationship to be dynamic - the Deadline date could be added on Issue creation or changed later and the Sample Delivery Date should update automatically.
I am a newbie with SR runner but imagine this would be done as a behavior.
Any help very much appreciated!
Thanks
Gordon