same group assignee permission

hi all, i need to configure a view permission if the user is in the same group of the assignee and by default disable access to all other issue.

i didnt find any way to inherit "same group" permission.

any ideas?

tnx

2 answers

1 vote

There isn't a way to do this because it's not really that useful.

The main problem is that most people are always going to be in the same group as all the other users. "Can log into Jira" is the main (and often only!) group in Jira.

A secondary problem grows out of the many-group model - what's the rule when you've got a user with several groups? Does another user need to match all of them? Or a sub-set? Or any? You've said assignee, but what happens if you want to use another user field?

(I also suspect the code could be a nightmare in performance terms, but don't quote me)

Thank you guys for trying: i've a very large jira installation with thousand users.

Inside a very trafficated project (helpdesk) there are already permission schemas and roles, all works fine.

....till now, that i have to permit to a group to see-only other same-group issue

i wanna manage it with a custom field that will be filled via a jelly script if assignee is inside this special group, next change the roles picking up that custom field.

i dont like so much this solution because of jelly script: do you think it is possible to have a formula-like field on which manage security? (or a sql-like trigger)

That's the point though - there's no way to do "user 1 is in the same group as user 2", because it's a) almost always true and b) usually a lot more complex than it sounds.

I think you're going in the right direction though - catch a special group or something and store it on the issue in a "group picker field" - that will let you use it in permissions. I'd skip Jelly and use the script-runner plugin to create a post-function or listener to update the group field as necessary

0 vote
Pedro Souza Atlassian Team Jun 23, 2014

Hello,

I think you can configure this project permissions, customizing the Browse/Issues permissions for those specific groups.

As far as I know there is no way to configure it dinamically, however, may have some third-party plugin to achieve this, but I'm not sure.

Cheers.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,304 views 14 20
Join discussion

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