Repository tools command to create a friend relationship

Use the createFriend command to create a friend relationship between two applications.

Purpose

The createfriend command creates a friend relationship between two applications. This is useful when Jazz® Team Server is upgraded to a new version and your application, for example, the license server is not. For use cases about the createfriend command, see this Jazz.net workaround article.
Important: The server must be running when you run the command.

Parameters

Attribute Description Required Default
srcRepositoryURL The connection URL for the source server. No https://localhost:9443/jts
srcAdminUserId The administrative user ID to log in to the source Jazz repository. No ADMIN
srcAdminPassword The administrative password to log in to the source Jazz repository. No ADMIN
destRepositoryURL The connection URL for the destination server. Yes none
destAdminUserId The administrative user ID to log in to the destination Jazz repository. No ADMIN
destAdminPassword The administrative password to log in to the destination Jazz repository. No ADMIN
functionalUserId Functional user ID that is associated with the friend operation. For example, ccm_user. Yes none
logFile Path to the log file. No repotools-jts_createFriend.log

Example

For Windows
operating system Open a command prompt and enter this command:

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-jts.bat -createfriend destRepositoryURL=https://host.name.com:9443/jts functionalUserId=ccm_user

For Unix
operating systems Open a command line and enter this command:

cd opt/IBM/JazzTeamServer/server/
./repotools-jts.sh -createfriend destRepositoryURL=https://host.name.com:9443/jts functionalUserId=ccm_user