Adding User Directories to both Jira and Confluence?
Asked by bbauer42:

We have Jira and Confluence installed. We're trying to have Jira delegate users to Confluence. We've configured a user directory in Jira to connect to Microsoft Active Directory. Our AD users and groups show in Jira. I'd like to use User Profiles for Confluence to create organizational charts in confluence pages. However, after installing User Profiles for Confluence and trying to drop an organizational chart macro on a page, I always get errors. Its telling me there are 0 users. If I go to administer confluence and look at the user directories there, I see the following:

Confluence Internal Directory, Type: Internal

JIRA Server, Type: Atlassian Crowd

Do I have to add a directory again for AD on the confluence side? I'm totally confused. Please advise, thanks.


Answers:
author: Fadoua
body: [@bbauer42](/t5/user/viewprofilepage/user-id/1377632)if you are able to see your users in Confluence, and they are able to access Confluence without any issues then my guessing the problem is the plugin.

What about Uninstalling/Reinstalling the plugin? I know it sounds silly but yesterday I had to do it for one of my plugins here at work that wasn't behaving the way it should.


author: bbauer42
body: Thanks Fadoua. We removed, reinstalled, and re-configured the add on and all is now working as expected.

comments: author: Fadoua
body: That's a great news [@bbauer42](/t5/user/viewprofilepage/user-id/1377632)!

If you don't mind please accept my answer, it helps me as a Community Champion


author: Fadoua
body: Hi Brian,

Are you using Crowd? Which doesn't seem the case here. You mentioned that you connected JIRA to AD. Then Crowd shouldn't be on the directories.

If the same users will be accessing both JIRA and Confluence then it will be better to configure JIRA for user management, then connect Confluence to it.

Please click [here](https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html) to read more on how to configure JIRA for user management

If you have any questions, don't hesitate to ask.

Best of luck!

comments: author: bbauer42
body: Thanks. We do have the same users accessing both JIRA and Confluence. Currently, we're populating users in JIRA via Microsoft Active Directory. We have a title, department, manager, and location field populated in AD. We're delegating users to Confluence. My goal is to use the User Profiles for Confluence add on to create organizational chart pages inside Confluence. However, when I try using the add on, it always tells me there are 0 users yet when I go to people in Confluence, I see all the users I would expect. I must be missing something here.

Do I have to synchronize AD on the Confluence side as well to get this add on to work? I'd like to avoid doing that if possible since it should all be coming from JIRA. Any suggestions?

Thanks in advance.


author: Fadoua
body: [@bbauer42](/t5/user/viewprofilepage/user-id/1377632)I can see you answer in my email but how come I don't see it here?


author: bbauer42
body: I'm not sure why we can't see it here?


author: Andy Heinzer
body: Apologies all, the spam filter was a little overzealous, I have added back that other comment.


author: Fadoua
body: Thank you [@Andy Heinzer](/t5/user/viewprofilepage/user-id/541137)!

What do you mean by Post ID? Is it in this case 819587#U820613?

I am trying to move the comment to this question as it is displaying now as it is own question. However I did close comments.

<https://community.atlassian.com/t5/Removed-Posts/Re-Re-Adding-User-Directories-to-both-Jira-and-Confluence/m-p/820282#M1825>


author: Andy Heinzer
body: [@Fadoua](/t5/user/viewprofilepage/user-id/655791) I am afraid that the Brian might have posted the same response twice to this thread. The post you refer to is the same as the other one <https://community.atlassian.com/t5/Confluence-questions/Adding-User-Directories-to-both-Jira-and-Confluence/qaq-p/819587#M110727> that now appears just above our comments here. There should be no need to have both on the same thread. Both were incorrectly flagged by our system spam filter. I added both back, but then removed the one you mentioned.


author: Fadoua
body: Your help is greatly appreciated [@Andy Heinzer](/t5/user/viewprofilepage/user-id/541137)! Just for future reference Post ID is it something like the following 819587#M110790?

Thank you so much!


author: Andy Heinzer
body: I'm not sure about the Post ID. The site's backend has a few different ways of identifying unique posts and how they relate to a thread. The first number after the /qaq-p/ is the thread ID, where typically a # followed by a number does indicate a specific highlighted comment in that thread.


Tags: confluence-server

server