Skip to content
Try For Free

Sync attributes to Communardo User Profiles

Goal

UserSync 2.1/2.2 supports syncing any IdP attributes into Communardo User Profiles fields. This tutorial will show how to configure this.



Requirements

  • UserSync 2.1.x/SAML 5.1.x for Confluence or UserSync 2.2.x/SAML SSO 5.2.x for Jira

  • Communardo User Profiles for Jira, Communardo User Profiles for Confluence

  • Configured fields in the User Profiles app


Steps


  1. Go to UserSync and click Edit for your UserSync connector.

    1 Edit.png



  2. Go to Provisioning Settings and scroll down to the Attribute Mapping table.

    2 Prov Settings.png



  3. Click New Mapping and select the User Profiles field you want to map. You may have to scroll down in the popup to find it.

    Screenshot 2021-10-14 at 12.52.png



  4. Select which attribute from the IdP should be the data source. You can also do any transformation.

    4 Choose attr.png



  5. Click Apply to close the modal. You can see the new mapping in the table.

    5 apply.png





  6. Click Save and Return to finish the configuration.

    7 save.png




Result

After syncing users, you can see the field in the user profile

Screenshot 2021-10-14 at 12.49.png


Known Issues

Problem

When reinstalling the User Profiles app, the SAML SSO/User Sync app crashes with the following stack trace in the Atlassian log file:


  1. 2021-10-18 07:45:08,368 ERROR [http-nio-8080-exec-9] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: de/communardo/atlassian/plugins/userprofile/external/api/service/UppProfileElementDataManager
  2. -- referer: https://.../plugins/servlet/samlsso/usersync | url: /rest/samlsso-admin/1.0/reconfigure/frontenddto/usersync | traceId: b793c7ddef9a0611 | userName: admin
  3. java.lang.NoClassDefFoundError: de/communardo/atlassian/plugins/userprofile/external/api/service/UppProfileElementDataManager
  4. at de.resolution.atlasuser.impl.user.communardo.CommunardoUserProfileAdapterImpl.<init>(CommunardoUserProfileAdapterImpl.java:39)
  5. at de.resolution.atlasuser.impl.user.communardo.DelegatingCommunardoProfileAdapter.updateDelegate(DelegatingCommunardoProfileAdapter.java:51)
  6. at de.resolution.atlasuser.impl.user.communardo.DelegatingCommunardoProfileAdapter.getAvailableAttributes(DelegatingCommunardoProfileAdapter.java:71)
  7. at de.resolution.retransform.frontend.AttributeMappingUtils.createCommunardoAttributeOptions(AttributeMappingUtils.java:86)
  8. at de.resolution.retransform.frontend.ConfluenceAttributeMappingOptionProvider.getSpecificOptions(ConfluenceAttributeMappingOptionProvider.java:24)
  9. at de.resolution.retransform.frontend.AbstractAttributeMappingOptionProvider.getOptions(AbstractAttributeMappingOptionProvider.java:17)
  10. at com.resolution.atlasplugins.samlsso.configuration.frontend.SamlSsoConfigurationService.getFrontendDTO(SamlSsoConfigurationService.java:186)

Solution

To fix this issue, reinstall SAML SSO/User Sync too or restart the instance. Afterward, the UI will load again. We will address the UI crashing with an upcoming update. However, you will still need to reinstall the app or restart the instance.