Hello,
I find in the official documentation of jira here How to list all users by project role in Jira
a sql query to list all users by role in a project.
But I don't understant why they use UNION of 2 select , i understand the first "SELECT" but the second no and what is "cwd_membership" ?
Is there any one of you have an idea ?
Thank you
regards
Hi @Marine Tm I think it is described in the how to article :). I will try to describe it better... You can assign user to project's role in these ways:
cwd_membership table contains relationship between Jira Groups and Jira Users. And UNION is here to have every "row" only once because user Tom Hanks can be in role Administrators using user and group (so twice in sum).
Let me know if you need more help :)
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.