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 !
@Ravi Sagar