Seeking custom scriptrunner code to make a data picker field appear in JIRA even when empty

Maggie Stearns May 18, 2017

I am looking to have a Date Picker field display in JIRA even when it is empty.

I found some awesome code that does this, but it is written for a select list field type (String).
I would like it to work for Date Picker field types.

Here is the code:
https://github.com/theschles/JIRA_ScriptRunner_AlwaysDisplaySelectList

One user states it should be a small change to make it work for other field types: https://github.com/theschles/JIRA_ScriptRunner_AlwaysDisplaySelectList/issues/2

I'm not a programmer and can't make that change.

I also wonder about the configurationScript.groovy file. Will I need to make multiple copies of it if I have multiple fields?

1 answer

0 votes
Stephen Cheesley _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 22, 2017

Hey,

I have a quick question. Is there a reason that you need the empty date picker to appear in the issue? The reason i'm asking is to try to understand if there is a better way to solve the problem :-)

Thanks,

Steve

Suggest an answer

Log in or Sign up to answer