Text field for checkbox with Javascript

Rumceisz February 5, 2017

Hello Everyone,

there's a need in our JIRA for a checkbox type custom field which would offer a text field if one specific option selected. For example:

Yes

No

Other: of Other is selected then a text field would appear.

I heard that Javascript can achieve this, but I'm not expert in that. Could you send me a code snippet? Maybe it's an already existing feature...

Thanks!

Rumi

2 answers

1 accepted

0 votes
Answer accepted
Peter Geshev
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.
February 5, 2017

Hi,

You could have 2 different custom fields (one for the checkbox behaviour and one for the text field) and you can hide show the text one based on the value of the checkbox field

Regards,
Peter 

Rumceisz February 6, 2017

Hi Peter,

thanks for the hint!

Which plugin do we need to achieve this?

0 votes
deepali3031 June 28, 2017

Hello @Rumceisz,

Were you able to achive this enhancement? I am looking for same. Let me Know.

Thanks,

Deepali B

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events