Hello,
I'm trying to add a user as an agent to my Jira Service Desk through api. I haven't found any method that does it directly, so I've searched for a method that adds users to a project. This is the one I found:
Add actors to project role
POST /rest/api/3/project/{projectIdOrKey}/role/{id}
This works until a certain point, which is where I need to add the user to a group. The problem I get is the following:
"errorMessages": [
"Si añades un usuario a los grupos seleccionados se superará la cantidad de usuarios permitidos con licencia de Jira Service Desk. Debes reducir la cantidad de usuarios con licencia o actualizar tu licencia para abarcar una mayor cantidad de usuarios."
]
Why do I get this error if I'm working with maximum 3 agents only?
Also, is there a more efficient way to add one user as an agent?
Thank you.