Want to show 2 rich text boxes in the selection of checkbox

Monika Rani
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 13, 2024

Hello,

I want to show two Rich Text boxes if the user chooses YES from the checkbox, and if NO then these fields should not be shown.

How can I achieve this?

1 answer

1 accepted

3 votes
Answer accepted
Lisa Forstberg
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.
August 13, 2024

HI @Monika Rani 

This can be achieved with the Forms functionality where you can create dynamic forms based on the user input. See the doc and guides on how to use Forms 

Basically you create a form in which you can drag in the fields, then you can add conditions so other sections appears if the value is YES in your field.

Then lastly you need to apply the form you created on your Jira service management request form. By the looks of the labels of this question you are on Jira service management right?

all the best

Lisa

Monika Rani
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 13, 2024

@Lisa Forstberg Yes, I am using JSM. I know that by using forms we can achieve this at customer portal but I want this for Agent view on the issue create screen.

Lisa Forstberg
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.
August 13, 2024

Oh, I see!

When you create a form its not visible using the create button I am afraid. You will run into this error if you choose to use the request type fields

Screenshot 2024-08-13 at 15.06.43.png

 

You need to send your agents via the link to create a portal request, not ideal and I bet there is an improvement request on this in the jira.atlassian.com-site. 

You can't achive this fully using Forms. I suppose you can work with validators on the create transition to get a validation in for the If YES - then also require field X and Y (no hiding of fields though)

  If you have scriptrunner maybe there are options in their behaviours feature set to help you out. Have not done this myself. 

Also the marketplace might offer this functionality in any of the addons, for example Dynamic Forms for Jira

Maybe not the answer you were looking for though...

all the best

Lisa

 

Monika Rani
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 13, 2024

Thanks, @Lisa Forstberg for your reply! you understood my question perfectly. I try script runner for this.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events