I would need a MySql query where I get all my users (name,username,email,groups) from the JIRA Internal Directory.
With this query I get all the user information except the groups. But I would need the groups too.
select * from cwd_user where directory_id =
Simplify the SQL and make it explicit. (The "as" phrase is the bane of SQL readability. It's great when you're an expert DBA and no-one else has to understand what you're doing, but for most of us, it really just makes it all harder to read)
The most simple and precise form of this query is
Select * from cwd_user join cwd_membership on cwd_membership.lower_child_name = cwd_user.username
To limit the directory, add
where cwd_user.directory_id = 1
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs