Unfortunately, the answers you've been given so far only work for one very specific situation - they do NOT set the security level, they set the assignee to one person and then rely on the default security scheme in the project to do things like "hide the issue from everyone except that person".
If that's what you need to do, then it'll work (with the additional caveat that you also really need to understand the rules about who the component lead is when the user selects multiple components)
To actually do "security level set by component", you need to do some coding. You need to find/write a post-function to add to the "create" transtion (or listener if you want to do it on edit actions). The code is a simple "if component X, then set security Y" block of statements. I'd look at using the script runner plugin to do it.
go to your project configuration page, edit the component and define "component lead" as tandard assignee
This way, every time a component has been selected and the assignee is set to the default "Automatic", it will be assigned to the component lead
you can configure security level for current assignee.
i hope this will help you!!
A security scheme defines a set of levels that can be applied to an issue. Each level is a set of rules that say who can see the issue with that level.
To set a security level on an issue, a user must
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