Set radio buttom custom field to mandatory

Vishal
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.
September 1, 2020

Hello Guys,

I have three custom fields all are of radio button type, the second & third field is visible based on the selection of values in the first field. Till then second & third custom field is set to hidden & not required  using behaviour.

Once second or third field is visible, I need to set them to mandatory, however even after setting them to required, they are not actually mandatory field & we can create a ticket without selecting any option.

Is this some sort of bug in radio button type custom field or something ? Do let me know if anyone has encounter something like this & if there is any solution to it.

 

Note : I am using a java code to remove the 'none' options from all custom fields.

2 answers

1 accepted

0 votes
Answer accepted
Vishal
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.
September 14, 2020

Just for the information if at all someone faces this issue, it seems like a bug if you use cascading radio button, second radio button field doesn't really become mandatory even if you set it as required in initializer. So to mitigate this, use field validator function in workflow instead. This will work as a workaround.

0 votes
Gustavo Félix
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.
September 1, 2020

Hi @Vishal
Are you using any automation plugin ?

Vishal
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.
September 2, 2020

Hello @Gustavo Félix 

Yes, we are using automation for jira plugin.

Vishal

Gustavo Félix
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.
September 2, 2020

Suggest an answer

Log in or Sign up to answer