Is it possible to create a editable script field ?

Aisha M
Contributor
May 11, 2018

I am looking forward to replicate the below requirement,

I want to have a editable field (Date A) which, if left empty should copy a date value from another field (Date B). Also, the user should be able to select the date on this field (Data A) if needed. The above 'copying logic' must work only if the field (Date A) is left blank.

Is this doable ? Inputs are welcome. Thanks

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.
May 11, 2018

Not with ScriptRunner (or the other add-ons that do scripted fields).  The point of these fields is that they are derived from rules you set in their code, and not enter-able because they're calculated.

But you don't need an edit-able scripted field.  Just create a field that takes its output from A if A exists and B if it does not.  You don't need to edit it, just let the output flow from what the users enter in A or B

Suggest an answer

Log in or Sign up to answer