Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

rtc cli scm list stream/snapshot gives different ID numbers each run

 Hi all,


I am using the RTC SCM CLI utility to run the scm list streams and scm list snapshot commands. I am able to get a list of output but the IDs stated keep changing everytime I run the command.
For example:
1st run gives (1234) "Stream1" MainProjectArea
2nd run gives (2345) "Stream1" MainProjectArea

Is this expected behavior? If not then how can I troubleshoot this problem?

Thanks!


0 votes


Accepted answer

Permanent link

This can be expected.
If you refer to
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.scm.doc/topics/list_streams.html&scope=null

[UUID and Alias section] says:
Aliases are unique to a sandbox. You cannot share them with other team members. You cannot list them. They are not persistent over long spans of time (any alias can be re-used to refer to another object after the set of unused aliases has been exhausted).

So in your case, alias can change every time. If you mean to show UUID, you can try

scm -a n -u y list streams

which will return uuid only for each stream and it should be consistent.

chi wang selected this answer as the correct answer

1 vote

Comments

 Thanks a lot, this was exactly what I was looking for but couldn't find this answer in my search. You helped me loads!

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,203
× 457
× 87
× 79
× 74
× 25
× 16
× 8

Question asked: Feb 25 '18, 10:59 p.m.

Question was seen: 2,491 times

Last updated: Feb 26 '18, 6:37 a.m.

Confirmation Cancel Confirm