Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Limit Users That Are Available in Issue Watcher User Picker

Trent Gooden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 19, 2020

We have recently completed an install of JIRA 8.5.8 and this has been an issue since the install. I have searched forums and have seen that what we would like to do is not possible without a custom field, but I want to make certain before we do that.

We currently have about 30 users. We authenticate these users against our enterprise LDAP environment, which has approximately 60K users. When we configured LDAP in JIRA originally, all of these users were imported when we connected.

The problem we are seeing is that when you add a watcher to an issue and start typing a name, all results from our 60K LDAP show up. We would like to limit the names available in his drop down to ONLY the members of a group we define.

To reproduce this issue, go to an issue, click More, Watchers, then start typing a last name in the watcher list box. We want to limit the users that appear in the user picker to members of a group we define. 

2 answers

2 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
November 20, 2020

My last experience with JIRA Server was v7.13, and I now work with JIRA Cloud instead.

Having said that, as I recall when setting up the integration for JIRA Server with LDAP you could use the Base DN field in the LDAP setting in JIRA to filter the users to be selected from the directory to users in a specific OU. Can you get the JIRA users into the same OU? It might be possible to set the Base DN to pick users that are all in a specific directory user group. I don't recall if we did actually did that, and I don't have any where I could do an experiment to see if that would work.

0 votes
Answer accepted
Brant Schroeder
Community Champion
November 19, 2020

Trent unfortunately the only way to have those users not show up is to inactivate them.  I am assuming that you are not using service desk or anything like that were they would login.  You can set the LDAP connection to manage user status locally, then shutdown the service and inactivate them in the DB via SQL.  I think the SQL is something like this

update cwd_user set active=0 where user_name!='username';

You will need to update the query to include any of the usernames that need to remain active.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.8
TAGS
AUG Leaders

Atlassian Community Events