Is it possible to hide user groups in the group-picker field.

I was wondering if there is any way in which I could hide user groups in the GROUP PICKER CUSTOM FIELD. This feature would eventually be required as I have created user groups based on departments. Work allotment rights are also configured by these user groups. Now two companies are going to have the same department(eg. SALES). Temporarily I have attached a prefix to the department group belonging to my company. But the end user could pick a department belonging to the other company leading to the issue being hidden in search filters that I have set.

It would be helpful if the user could see groups that I want him to see so that there is no issue of an erroneous input.

3 answers

Do you want to show the user only those groups which he belongs to ?

No. I want to show the groups that I want him to see. He would be belonging to a project in a multi project scheme. But there would be administrators belonging to multiple projects.

I can't even save a filter to display groups. I could have added a Prefix to the group have displayed groups based on the prefix. But the filter has to be typed each time I open the group filter. This is no good.

Ok , how are you going to define which user should see which group ?

You will need the behaviours plugin for this , you will need to write a server side groovy script which will check if the current user and based on that display only those groups which you want him to see .

Refer this similar example

Can you update the example link, I hope it no longer exist

Okay, thanks. will try that.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

442 views 0 9
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