You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am currently working on a Java project to create users in Jira and add them to groups using the Jira Rest API. I have run into a problem using the Add user to group endpoint (The Jira Cloud platform REST API (atlassian.com))
The request body requires the use of an accountId to add a user to a group as the username parameter is no longer available. But I am using a Server/Datacenter to host the Jira and the user data from the Find User or Get User endpoints does not contain an accountId. I have seen other posts in this community claiming that only Jira Cloud users have an accountId attatched to their account. So I was wondering how I can add a user to a group using an the API for a Server/Datacenter instance of Jira?