How to find the Rational Team Concert Stream name (from the command line) from the Stream UUID
Accepted answer
Jaganathan,
The fastest CLI (command-line interface) call you can make for finding a stream name from the stream UUID is:
'scm.exe --non-interactive --show-uuid yes show attributes -r <repo_creds> --workspace <stream_uuid>'
Where <stream_uuid> is the UUID of your stream (--workspace means either a stream or workspace, as per the documentation) and <repo_creds> is the nickname of your cached login credentials, assuming you did a login and aren't passing the user/pass as cleartext for the call.
You can also pass --json for more output (as is true for most scm calls) that is easier to parse if you have a JSON parser, like in Perl.
Here is the documentation: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/show_attributes.html&scope=null
The fastest CLI (command-line interface) call you can make for finding a stream name from the stream UUID is:
'scm.exe --non-interactive --show-uuid yes show attributes -r <repo_creds> --workspace <stream_uuid>'
Where <stream_uuid> is the UUID of your stream (--workspace means either a stream or workspace, as per the documentation) and <repo_creds> is the nickname of your cached login credentials, assuming you did a login and aren't passing the user/pass as cleartext for the call.
You can also pass --json for more output (as is true for most scm calls) that is easier to parse if you have a JSON parser, like in Perl.
Here is the documentation: https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/show_attributes.html&scope=null
Comments
1 vote