Forums

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

How to set Security Level with Automation?

Suzy Nicholson November 21, 2024 edited

Goal: 
When a ticket is created, automatically change the security level according to issue type.

Problem:
When creating the rule in automation, the "Security Level" field under "Edit issue fields" is not showing the proper security levels from the Issue Security Scheme that is set for the project, so I cannot set the appropriate security levels with automation.
The only options I see are "All users" or "Default"

I have followed the steps laid out in this knowledge base article:

https://support.atlassian.com/automation/kb/automation-or-set-issue-security-level-via-automation-for-jira/

I have an issue Security Scheme called "HR Scheme".
"HR Scheme" has three security levels:
1. "Default" (is set as the default security level)
Access to: Reporter, Group (HR), Project Role (atlassian-addons-project-access)
2. "Equipment recovery"
Access to: Reporter, Group (HR), Group (Systems), Group (Ops), 
Project Role (atlassian-addons-project-access)
3. "Offboarding tickets"
Access to: Reporter, Group (HR), Group (Systems), 
Project Role (atlassian-addons-project-access), Single User (myself)

The actor for the rule is "Automation for Jira".

Under Project Settings>Access>Issue Security, I see the above Security Scheme and Security Levels, as intended.

I added myself to one of the Security levels to see if that was part of the problem.

Under Project Settings>Access>People and Access, I am listed as the Administrator of the project.

Under Project Settings>Access>Project Permissions,  "Automation for Jira" and "atlassian-addons-project" is added to the "Browse Projects" Permission, "Edit Issue" Permissions, and "Set Security Level" Permission

Under Project Settings>Request Management>Screens, the field "Security Level" is added to all screens.

I would appreciate any assistance or ideas.

Thanks

1 answer

1 accepted

3 votes
Answer accepted
Suzy Nicholson November 21, 2024

Oh, I figured it out...
I just needed to type in the Security Level name manually. 
It doesn't automatically appear in the drop down until you start typing the name.

Screenshot 2024-11-21 192312.png
Screenshot 2024-11-21 192332.png

Suggest an answer

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

Atlassian Community Events