Hi,
I have been trying to add users to a group using Rest API v2 and in order to do so, I need to have the account Id of the User. But my user API is not returning the account Id of the users.
Please help.
Thanks
Any idea anyone? I see many people having this issue:
Have you tried to first perform a call to get a list of the users, and find the account ID you need for the user in the JSON? Then you could use that to add them to the group with another call.
The call to get the users list is: /rest/api/3/users/search?maxResults=1000
Note that unlike other REST API calls for JIRA, this one can return up to 1000 records. You need to add paging with startAt if you have more than 1000 records.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.