Hello,
I am looking for some help/guidance on getting an API call set up to set more than one project admin for a given project. Currently I am using the code below to set one admin:
${Urls.jira}/rest/api/3/project/${projectKey}/role/${projectRole}
Is there a best practice on getting this logic set up to accept multiple users?
Hello @Jones JayJuan
That endpoint doesn't accept multiple users. As per the documentation for that endpoint:
user
Array<string>
The user account ID of the user to add.
... one user, singular, per request. To add multiple users you need multiple requests.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.