Hi All,
I have a scenario where I want to use one request type for two kinds of access requests for my team. So I have "Access request for Jira " request type and I want to use the same for "Confluence Access" because almost all fields going to be used are similar.
The purpose is that I will provide a drop-down to users where they can select "Jira" or "Confluence" and depending on selection, fields will populate or be hidden.
I have written the script already and its working till showing or hiding fields but it does allow me to create ticket till I have filled all the fields (which are hidden even) in the portal.
This the portal view when I select "Jira" in Application Name-: Correct fields are populating on screen.
But when I click on "create" after putting all information in fields, it does not create any ticket, it asks for fields to be filled which are hidden and will be visible when I select confluence as shown below-:
Would really appreciate help from community on this.
Thanks in advance !
Hi All,
I resolved the problem. So, in request type I had set all fields required but in script I was making the fields optional and mandatory depending upon selection which was not able to override the former. So code was not succeeding as I had set all fields as required.
Solution-: I had to make all fields optional in the request type in JSM for code to work.
Thanks!
Hi @Ragini Sharma ,
Could you please share your script which you have implemented for this type.
Thanks,
Rishav
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.