Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mvn deploy:deploy-file -Dfile=user-profiles-external-api-1.0.0.jar -DgroupId=de.communardo.atlassian.plugins.userprofile.external.api -DartifactId=user-profiles-external-api -Dversion=1.0.0 -Dpackaging=jar -Djavadoc=user-profiles-external-api-1.0.0-javadoc.jar -DrepositoryId=<id-to-map-on-server-section-of-settings.xml> -Durl=<url-of-the-repository-to-deploy>

Include the

...

UPJ Java API in your Add-On pom.xml

Code Block
<dependency>
    <groupId>de.communardo.atlassian.plugins.userprofile.external.api</groupId>
    <artifactId>user-profiles-external-api</artifactId>
    <version>1.0.0</version>
    <scope>provided</scope>
</dependency>

Import

...

UPJ components to your atlassian-plugin.xml

Code Block
<component-import key="uppProfileElementManager" interface="de.communardo.atlassian.plugins.userprofile.external.api.service.UppProfileElementManager" />
<component-import key="uppProfileElementDataManager" interface="de.communardo.atlassian.plugins.userprofile.external.api.service.UppProfileElementDataManager" />

Make sure the User Profiles for

...

Jira Add-on is already installed on your Confluence system.

Check https://communardo.atlassian.net/wiki/spaces/UPJ/pages/473727121/Installation+and+Licensing (+v 3+2.3)2 for further information.

Internal structure and basic usage

The UPC UPJ Java API consists out of two basic elements: the profile element and the profile element data. Profile elements can be added and removed in the UPC UPJ administration (check Configure User Profile Elements (v 3.3) https://communardo.atlassian.net/wiki/spaces/UPJ/pages/473727136/Create+and+Edit+User+Profile+Elements+v+2.2 for further information). Values may afterwards be added for every user via an LDAP sync or by manually editing user profiles (in the administration or the user does it on his own) or even by using our new Java API.

...