How to remedy and error running repotools to export user list
We are running into an error exporting a list of JAZZ users. We are on JAZZ 5.0.2, windows server 2008. The id running the command prompt can definitely log into JAZZ and is jazz admin. Here we go:
D:\IBM\CLM_5.0.2\server>repotools-jts.bat -exportUsers toFile=C:\Users\adminmurrayke\Desktop\ExportUsers\users.csv repositoryURL=https://jazz.csc-dev-scc.gc.ca/jts
CRJAZ1357E The repotools command could not log in to the following server: https://jazz.csc-dev-scc.gc.ca/jts. Check the login credentials. D:\IBM\CLM_5.0.2\server>ping jazz.csc-dev-scc.gc.ca
Pinging jazz.csc-dev-scc.gc.ca [172.16.140.248] with 32 bytes of data:
Ping statistics for 172.16.140.248:
|
Accepted answer
You need to provide adminUserid, adminPassword OR point to a properties file that contains the same. Run repotools w/o any options and you will find the syntax.
-exportUsers --Export the user information. [toFile=users.csv] --Path to the users comma delimited file. [overwrite=<yes | no (default)>] --Whether to overwrite an existing CSV file. [repositoryURL=https://localhost:9443/jts] --The connection URL for the server. [adminUserId=ADMIN] --Admin user id to login to the Jazz repository. [adminPassword=******] --Admin password to login to the Jazz repository . [credentialsFile=credentials.properties] --The file containing the admin user's login credentials. [certificateFile=<none>] --The file containing the admin user's login certificiate. The help _appears_ to indicate those arguments are optional, but I've found that they aren'tt. Keith Murray selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.