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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 8 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

43 views 0 8
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