We need to implement a feature in our Jira Service Management that allows for a pre-submission check to determine if a user has access to multiple participants in our CMDB (Configuration Management Database). This feature should work as follows:
Objective:
When a user clicks on the service request for "Onboard New Employee", the system should check if the user has multiple deelnemers(participants) in the CMDB.
If the user has access to multiple participants, they should be prompted to select a participant from a dropdown menu corresponding to the Deelnemer field from CMDB.
If the user has access to only one participant, this step should be skipped.
Requirements:
CMDB Integration: The system should query the CMDB using the user's email or username to retrieve the participant information.
Dynamic Form Behavior: The service request form should dynamically adjust to show or hide the participant selection dropdown based on the number of participants associated with the user.
I have added a screenshot from our Assets CMDB. Deelnemer could contain multiple values.