How to use a scripted field to take in value (date) from another field (date) ?

Aisha M
Contributor
April 26, 2018

I want to create a scripted field, which is supposed to take in a date value from another date picker field if left blank, also this field must also let the users to select a date value too if needed.

Any help on how to achieve this using script-runner ? I have never worked with groovy scripts.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 26, 2018

A scripted field is not suitable here.  They are derived by code and are therefore read-only, your users will not be able to select a date.

I would have another look at the requirement too - effectively, you seem to be asking for a simple date field, enterable by the users, no code needed.  Could you explain what the goal is?  What does the end user see from the field?

Suggest an answer

Log in or Sign up to answer