Hi every one. Need help with SQL query that will return me names of all projects, in witch "SOME GRUP" is not member of "SOME PROJECT ROLE"
SELECT * FROM projectname WHERE jira-group(or user) NOT IN project-role;
Right answer is:
select projects.pname from jira.project as projects
inner join jira.projectroleactor as pa on pa.PID = projects.ID
inner join jira.projectrole as pr on pr.ID = pa.PROJECTROLEID
where pa.ROLETYPEPARAMETER = "<here my group name>" and pa.PROJECTROLEID != 10800
1080 i got from jira.projectrole and its ID of my needed project role.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot