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

Cannot get all the streams by command line

I have access right to the streams, I am able to get those streams by Eclipse, but when I run command to get the stream list, I got different result, cannot get all the stream list, is there any way to set up the access right of command?  do I need to install license in the command client side?

0 votes


Accepted answer

Permanent link
samuel wang,

And you are positive that the cached credentials you have for the -r argument are the same ones you are using in Eclipse? You may want to logout of those credentials and perform a 'scm login' on them again just to make sure.

I can't reproduce your issue, everything works as expected for me when I use the same user in Eclipse as the cached repository credentials on the command-line.

I suppose at this point I would focus on a specific project to figure out the issue. Choose one of the Project Areas where you see all of its streams from Eclipse but not on the command-line. When you use your command pass that '--projectarea xxx' argument to isolate which streams you do and do not see from the CLI. Whichever one you do not see from the CLI, open it up on Eclipse and check the Visibility/Owned-By status of the stream compared to another that is visible from the CLI just to see if anything stands out.
samuel wang selected this answer as the correct answer

0 votes

Comments

I closed Eclipse, logged in IE browser, I can see all the streams from the browser, but I cannot see by command line, I am sure the credential is correct, I also tried with:
lscm -u y list stream -m 1000 -r xxx  -u xxx -P xxx,  but still cannot see all the streams.

from the browser, can I see those streams which I have no access right?

I can get all the streams by using the parameter of projectarea, thanks.


One other answer

Permanent link
samuel wang,

What command are you using? Make sure you're giving it a --maximum that is high enough, by default it returns only the first 10 streams.

Running 'scm.exe --non-interactive --show-uuid y list streams --maximum 99999999 -r MY_CREDS' successfully returns me all the streams in every project area that is visible to my my credentials for MY_CREDS.

1 vote

Comments

the command I used:
lscm -u y list streams -r xxx -m 10000

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

Question asked: Aug 28 '14, 12:49 p.m.

Question was seen: 3,455 times

Last updated: Aug 29 '14, 11:18 a.m.

Confirmation Cancel Confirm