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?
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
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, @Lisa Forstberg for your reply! you understood my question perfectly. I try script runner for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.