How to reestablish crowd connection from confluence ?


I recently upgraded JIRA to a 25 users license. Confluence was configured to get users from JIRA using the crowd connection (I think).

As a result more than 10 users exists in confluence (witch I don't need by the way). As a result no confluence users are able to use write an article (shame).

I remove those users from confluence-users group : no effects. I deactivated them : no effects as well, more important they were deactivated in JIRA.

Then, I got pissed, lack of sleep didn't help : decided to configure Jira to remove the link with confluence and recreate users in Confluence : FAIL. Of course, now I have no users in confluence, when I ask for a forgotten password (maybe an admin user would have survived, how knows?) here is what I get :

com.atlassian.crowd.exception.runtime.OperationFailedException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate

at com.atlassian.crowd.embedded.core.CrowdServiceImpl.updateUserCredential(

caused by: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate

Pretty logical...

I configure a crowd connection in JIRA for confluence, but don't even remember how it was set up in the first place, with what I read in your documentation makes me think I did it from Confluence, that would explain a lot, I cut the rop the wrong end...

Help !



3 answers

1 accepted

0 votes
Accepted answer
Joe Wai Tye Atlassian Team Sep 23, 2013

Hi Benoit,

I think the first thing that you would have to do would be to create an admin inside your Confluence Internal Directory. From there, you should be able to login using the internal admin, and configure your users. You can view how to create a new internal admin from this documentation - Restoring Passwords To Recover Admin User Rights.

I would recommend that you refer to the section 'If No Local Administrator Exists', and then start working from there. Of course, since this would include modifications in your database, I would highly recommend that you first create backups of your Confluence and database before performing any changes.

Thanks a lot Joe!

I can now access confluence, no need to create an admin user the old one was still active...

My question was a trick question, it hides another one. How to get users from Jira (10+), but not be bothered by this excess of users, because now the connexion does not work between confluence and Jira and all my pages are written by Anonymous.

I assume that creating local users with same login won't do the trick...

Thanks again.


Joe Wai Tye Atlassian Team Sep 23, 2013

Hi Benoit,

Hmm, well, assuming that all of your Confluence users are actually from JIRA, then I fear that as you have disabled the user integration between the two instances, Confluence can no longer find the users, hence have decided to name them as 'Anonymous'.

One thing that I am curious about, however, is this : Are the pages stated as created by 'Anonymous'? Is there any traces of the previous usernames left?

I have set up the integration 'back', everything is back to normal, as if page kept user id or something and Anonymous acted like a fallback user or disalocated/removed users.

Unfortunatly that did'nt my very first problem (that in my opinion is a bug) : user not belonging to any confluence group should be counted as users in confluence, even to read articles.

Is there a way to import (some) users from Jira (whilst keeping their id) into confleunce, so I can remove Crowd integration and keeping my users ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,027 views 51 8
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