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
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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