It's all about the answers!

Ask a question

How to remedy and error running repotools to export user list


Keith Murray (1511217) | asked Feb 17 '15, 1:09 p.m.

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
Repo Tools
Provisioning using "D:\IBM\CLM_5.0.2\server\conf\jts\provision_profiles".
  Jazz Foundation - Core Libraries, Version 5.0.2 (RJF-I20141028-1603)

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:
Reply from 172.16.140.248: bytes=32 time<1ms TTL=128
Reply from 172.16.140.248: bytes=32 time<1ms TTL=128
Reply from 172.16.140.248: bytes=32 time<1ms TTL=128
Reply from 172.16.140.248: bytes=32 time<1ms TTL=128

Ping statistics for 172.16.140.248:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Accepted answer


permanent link
Kevin Ramer (4.5k9185200) | answered Feb 17 '15, 1:58 p.m.
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


Register or to post 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.