The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation for Jira Security Vulnerabilities

Rob Sung
February 4, 2025

Hi I'm trying to build some simple automation to set the priority and due dates based on severity of the vulnerabilities.

 

It appears that vulnerability values cannot be used in automation.

Even though I see that there are matching issues for the given JQL (vulnerability[severity] = CRITICAL), the IF condition appears to fail.

Cursor_and_Notification_Center.png

 

 

Audit Log:

Cursor_and_Notification_Center.png

 

Are there known limitation in using vulnerabilities in automation? 

 

Thanks!

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Trudy P Claspill
Community Champion
February 4, 2025

Hello @Rob Sung 

Welcome to the Atlassian community.

What are the vulnerability values for the issues listed in the Audit Log?

Are you executing a JQL statement in your Trigger?

With your rule structure each issue will be checked against the first condition. If that condition is not met the rule stops processing that issue. It does not continue to checking the issue against the next condition. I believe you need to use a different structure; IF/ELSE

if vuln=crit

-- then edit

Else if vuln=high

-- then edit

Else if vuln=...

With that structure the rule will check the issue against each condition until it finds one that passes or it runs out of conditions.

Rob Sung
February 5, 2025

Thank you @Trudy P Claspill 

I'm using it JQL and it's working now/

Notification_Center.png

Like Trudy P Claspill likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events