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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.