Repository tools command to import the Requirements Management application link validity data during migration

Use the rmImportLinkValidity command to import link validity from a .csv file.

Purpose

The rmImportLinkValidity command loads the .csv file from the location specified in the command line and updates the Jazz® Team Server tables.

To run this command, the Jazz Team Server specified by the repositoryURL argument must be running.

Parameters

Attribute Description Required Default
fromFile Path to the Jazz Team Server input link validity comma delimited file. If a relative path is provided, it is relative to server directory. No server/rmLinkValidityFromFile.csv
repositoryURL The Jazz Team Server root URL.
For distributed environments only: For each product node, complete the following steps. For a topology overview, see the Deployment wiki article.
  1. Log in to the Jazz Team Server Home page as a user with administrative privileges: https://server_name:port/jts/admin.
  2. Click Server, and then click Advanced Properties.
  3. Search for the Shared Validity provider URL property and assign it the following value: https://parent_node_server:port/jts/validity.

    Assign this value only for product nodes: do not assign it for the parent node in the topology.

  4. Click Save.

In a distributed topology, complete these steps for each product line server.

No https://localhost:port/jts
adminUserId Administrative user ID to login to the Jazz repository. No ADMIN
adminPassword Administrative user password to login to the Jazz repository. No ADMIN
credentialsFile The file containing the administrative user login credentials. No credentials.properties
logFile Path to the log file. No repotools-rm_rmImportLinkValidity.log

Example

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

cd C:\Program Files\IBM\JazzTeamServer\server\
repotools-rm.bat -rmImportLinkValidity fromFile=Path_to_rmLinkValidityFromFile.csv adminUserId=ADMIN adminPassword=ADMIN repositoryURL=https://hostname.example.com:port/jts

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

cd opt/IBM/JazzTeamServer/server/
./repotools-rm.sh -rmImportLinkValidity fromFile=Path_to_rmLinkValidityFromFile.csv adminUserId=ADMIN adminPassword=ADMIN repositoryURL=https://hostname.example.com:port/jts