Hello,
Relative newbie here to Jira with an on-prem instance. I wanted to create a custom field using the Multiple User Picker type to create a list of approvers for a request type associated with the the issue type "Service Request with Approvals". The request type will automatically select this group (no user intervention needed) when the user submits a request.
So, I've followed the instructions here: https://confluence.atlassian.com/adminjiraserver072/configuring-jira-service-desk-approvals-832185058.html
I created a Jira user group called "Approver List - IT Test" and added Jira users that sync from our AD into the group. I created a custom field "Approvers - IT Test" using the Multiple User Picker type, configured the field to filter by the "Approver List - IT Test" group, and added it to the screens within the project I am configuring. I updated the workflow associated with "Service Request with Approvals" and changed the Waiting for Approval status to get approvals from the "Approvers - IT Test" custom field. Then I edited the request type and added "Approvers - IT Test" custom field, made it a hidden field, and specified the preset value to all of the users in the list.
And, it works.
However, here is my question: How do I set it up so that when the users in the Jira group I created changes, the preset values in the request type are populated to take into account those changes? For example, a user is added or removed from the "Approver List - IT Test" group.
I can't imagine needing to hand update the preset values for each of the hidden custom fields in every request type as those changes occur. Is there a way to approach this so the preset values of the custom field in the request type reflect all of the users currently in the custom field based on the group I created?
I'm fine with a little code if that's needed, but assumed that this would be something Jira handles without the need for scripting.
Thanks for your help!
-John