How To Synchronize Users Manager Data to the User Profile in Jira from Azure AD
This article is complementary to How To Synchronize Profile Data To The User Profile In Jira Or Confluence and describes how you can sync the users manager data from Azure AD to the user profile in Jira. This functionality has been added to User Sync from version 1.5.0 and above.
Guide
To configure your User Sync connector to synchronize fields from the user's profile of your cloud provider, do the following:
Step 1: Access the settings
Go to the UserSync settings and click Edit for the connector you want to modify.

Scroll down and click Show Advanced Settings.

Step 2: Add Manager Attributes
Once in the advanced settings, scroll down to the Attribute Mapping and add a new entry to the table.
In this article we map the managers name, user name and email attribute.
For the Application Attribute, enter any key you like:
JIRA.PROP.key
In this article we used the following Application Attributes and selected the matching attribute as Connector Attribute:
Application Attribute | Connector Attribute |
---|---|
JIRA.PROP.Manager Name | manager.displayName (manager.displayName) |
JIRA.PROP.Manager User Name | manager.userPrincipalName (manager.userPrincipalName) |
JIRA.PROP.Manager Email | manager.mail (manager.mail) |

There are additional connector attributes available that can be used for sync.
Connector Attribute |
---|
manager.city;manager.country;manager.department;manager.givenName; manager.jobTitle;manager.mailNickname;manager.state;manager.streetAddress; manager.surname;manager.usageLocation |
Step 3: Save the settings
Save the connector settings as shown below:

Step 4: Trigger the sync
There are three options to trigger the synchronization:
Updating a single user,
Starting a full sync,
Waiting for the next scheduled sync.

When an admin user is now checking the public profile of the users in Jira you can see now the managers details. Other users will not see these details but those user properties can now be further processed in Jira.
