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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.