Security Question - Tie Component Entries to Groups or Roles

JIRA team,

I wan users to have access to see specific issues - the key grouping concept I would like to use is "components'. Thus, is there a way to assign users to components? Or even have groups or roles tied to compoenents and then users to the gorups or roles?


1 answer

0 vote

There is "component lead", but that isn't going to help you with this. You can't tie anything else to components, including security levels.

If you skipped components and used a dedicated group field instead, you could use that field in the security schemes to do this, but it's not going to work with components.

Nic, thanks for the info. But, if you had an issue and wanted to associate it to the group (which use to be my component), then can you assign an issue to a group or does it have to be a user of the group?

You can never assign an issue to a group. Jira's assignee is always a single responsible person.

Nic, thanks. What we were trying to accomplish is to have different groups of people who can only see certain issues. Thus we were trying to use components, which won't work. Then we are looking at a different design. Lets say you have 4 groups - Inbound, Outbound, Process, Sales. you want inbound to only see issues for Inbound - this "Inbound" would have to be tied to something that can work thru security. Inbound can not see Outbound, Process can not see Inbound but can see Outbound. etc etc etc. You get the picture I am sure. We were thinking about using the addin for Service Desk and have a service desk for maybe each of the groups. do you have a suggested reading/link or opinon.

Yup, there's a trick here, but it does need a bit of code (although I use a script)

  • Use a select-list that contains those four groups (the options must match the group names exactly)
  • Create and apply an issue security scheme
  • In the scheme, set up four levels of security - one per group.
  • Each level should say "only the matching group"
  • Finally, code a listener that reads the group the user puts in the field and sets the security level to it when it's updated.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

153 views 3 7
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot