Groovy script to create field when user select Any-Other option from select list new textbox create

AKSHAY THAKARE July 23, 2018

Hi,

Guys can you provide me the Groovy script for the following functionality.

I want to add such functionality that when the user selects Any-Other option from the select list then automatically new text field generate where a user can write anything for the text Custom filed. This should be done while user raising any request.

 

for eg.

product type-    [ Project 1]

                          [  Project 2]

                         [  Any-Other]

 when user select Any -Other  then new text field need be create  [___________________]

 enter

1 answer

0 votes
Adrián Plaza [DEISER]
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.
July 23, 2018

Hi @AKSHAY THAKARE,

 

This functionality is not by default in Jira Service Desk, you need to use an App for this purpose like https://marketplace.atlassian.com/apps/1212161/extension-for-jira-service-desk?hosting=server&tab=overview

 

You need to review the Dynamics Forms functionality: https://deviniti.com/support/addon/server/extension/latest/dynamic-forms/

 

I hope this help,

Adrián.

AKSHAY THAKARE July 23, 2018

HI @Adrián Plaza [DEISER]

Thanks for the solution. can you please provide me the exact process?

Currently, I have created the field with name product name with select list how can I conditionaly add text box when user select other option.

Adrián Plaza [DEISER]
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.
July 23, 2018

Hi @AKSHAY THAKARE

 

Try to follow this guide: https://deviniti.com/support/addon/server/extension/latest/df-project-conf/ 

 

if you have problems I can help you.

 

Cheers,

Adrián.

AKSHAY THAKARE July 25, 2018

Hi,

I followed the same process as in guide but I was not getting the expected result. I used multiple select for the products. should I use a single select list so I can get the result? 

Suggest an answer

Log in or Sign up to answer