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

How to filter @Mention popup user list Edited

Dear all,

When writing a page in confluence we need sometimes to mentioned a user using the @ syntax.

The problem we face is that the popup list of users can have different entry for a single user and we would like to be able to get only the user entry which is connected to the AD and not all of them for same user.

is that possible to filter the mention list to reflect only users from AD and not others in order to not get confuse  and if yes how ?

Thanks for help

regards

1 answer

0 votes

Hello sc,

Thank you for contacting us about this.

Confluence should show all users in the @ mentions who currently have a license in Confluence. Can you tell me, does the Active Directory user have the exact same username as the others that are appearing in the list? Not the full name, but the username. If the usernames are different, then Confluence will view them as separate users and display them apart from each other.

If the usernames are the same, you might want to run a manual reindex and see if that corrects the issue.

That said, there's no way to filter the results that come up in @ mentions; it will show all Confluence users.

Regards,

Shannon

Thanks for your reply.

It seams on what we see is that @mention is displaying also deactivated user as shown in my picture below.

Any idea how can it happen ?

 

regardsimage-2019-08-06-12-57-23-358.png

Hello,

Apologies for the delay. If you run the Reindex, does the issue persist? Are you able to see the two instances of that user in the Confluence database? Was the 2nd copy of the user deleted at some point and not deactivated? Have a look at the articles below for information on some queries you can use to do that:

Please also confirm with me your Confluence version.

Thank you!

Regards,

Shannon

Running re index does not help

I cannot see in user table DB the two instance of that user.

Confluence version is actually  6.15.9 

Querry from link you mention return correct user data, no duplicate

Any idea ?

Thanks for your feedback

Hello @sc,

In that case, it can be that the user was deactivated only in Confluence but still remains as an artifact in your UI.

Can you go to your Users & Groups section in Confluence admin and search for that user? See if they come up 2x there. If they do, just make sure there's not any important data tied to that 2nd user, and then you can deactivate them there.

Regards,

Shannon 

Hello @Shannon_Spaniol ,

I noticed that most users which gets displays in @mention gets also fetch  from the Unsynch user tab of user management

I have check from database in order to delete those, but sounds not so easy from simplpe querry as there are quite many contraints in place with other tables like LABEL and CONTENT.

Is there a way from the UI to make a Bulk delete of those users ?

regards

Hello @sc,

So from what I understand, users listed in the Unsync tab, they are appearing in user mentions? Do you find the duplicates when you search under User Management in general? Can you disable the users there?

I wouldn't recommend deleting the users, this can cause too many issues with Confluence content. It's not possible to bulk delete them in the UI currently for that reason, but we do have a feature request for it below:

  • CONFSERVER-57857 Provide the functionality to perform bulk delete for unsynced users

Let me know if you have any questions.

Regards,

Shannon

Hello yes, I can see the duplicate in user management but not able to desactivate them from there.

The first user for instance in attached picture is causing issue and would need to be deleted or deactivated

if you said it is not advise to delete unsyn user, what should I do then to desactivate them from DB ?

2019-10-17_10-43-58.png

Hello @sc,

Thank you for following up with that information.

Could you go to the View User screen for that duplicate user and let me know what directory it has listed for it? Does it belong to the directory where you disabled it, or some other directory?

You can delete the user if there is no content for that user. If you attempt to delete a user which had content, then you will have an error message. If you were to deactivate the user on the AD side, sync it, it would delete from the server but show their posts as Unknown User. 

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

109 views 3 7
Join discussion

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