How to find Jira Projects not assigned to a Issue Level Security Scheme

I am trying to locate all projects that are not using any sort of defined Issue Security Scheme? Is this possible using JQL or must this be a DB query?

1 answer

0 vote

Hey there,

You can run the following query on JIRA DB:

select pname from project
where pname not in 
(
select pj.pname from nodeassociation na
inner join issuesecurityscheme iss on iss.id = na.sink_node_id
inner join project pj on pj.id = na.source_node_id
and na.source_node_entity = 'Project'
where na.sink_node_entity = 'IssueSecurityScheme'
);

-- Arthur Gonçalves

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

211 views 1 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you