It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 votes

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
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

102 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you