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
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
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