It's all about the answers!

Ask a question

How to get stream UUID from name


Tomas Kramaric (2115) | asked Nov 21 '16, 6:38 a.m.
Is there any way how can i get stream UUID ?
thank you

Accepted answer


permanent link
Tomas Kramaric (2115) | answered Nov 21 '16, 6:45 a.m.
List streams which also contains UUIDs:
scm list streams -r "$REPO" --projectarea "$PROJECT" -u "$USER" -P "$PASS"
	
Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
Donald Nong (14.4k314) | answered Nov 21 '16, 6:57 p.m.
edited Nov 21 '16, 6:59 p.m.
I think Tomas meant to say using the -u/--show-uuid option for this purpose, but forgot to put it in the sample command. He knows how to use it apparently according to this post.
https://jazz.net/forum/questions/231330/how-to-get-list-of-components-using-scm-command

So the correct command should be
scm -u y list streams -r "$REPO" --projectarea "$PROJECT" -u "$USER" -P "$PASS"
or
scm --show-uuid y list streams -r "$REPO" --projectarea "$PROJECT" -u "$USER" -P "$PASS"
Reference can be found here in the "UUIDs and aliases" section.
https://www.ibm.com/support/knowledgecenter/en/SSYMRC_6.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html

Comments
Tomas Kramaric commented Nov 22 '16, 3:05 a.m.

  I did not know, but i hardly found it somewhere else. thx

Your answer


Register or to post your answer.