Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I write JQL for vulnerabilities without work items

Amy Tebbe November 26, 2025

I'm using GitHub Advanced Security integration with jira and have followed these instructions to see my vulnerabilities.  That works perfectly.  I can see them in Security -> Vulnerabilities. I linked one vulnerability to a work item for testing purposes.

I'd like to create a dashboard with a pie chart of all vulnerabilities sliced by severity.  I can't seem to write the JQL to show only vulnerabilities without work items.  Is there a way to do this?

I've tried several variations on the JQL but I seem to only get results on the vulnerabilities linked to a work item.  

Ex: 

This query returns only vulns linked to a work item:

 

vulnerability[totalCount] > 0



The 3 queries below return nothing:

vulnerability[provider] = "github.com"

vulnerability[provider] = "GitHub Advanced Security"

vulnerability[provider] = "Dependabot"

Thank you in advance for any help you can offer. 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2025

Hi @Amy Tebbe 

JQL is a query language to find work items meeting some criteria.  It cannot find the opposite: the absence of information.

If there is a REST API endpoint to get all possible vulnerabilities, you could iterate them to find any without associated work items.  And, if such an endpoint exists, there may be a marketplace addon / app gadget to show such information on dashboards.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events