How to get component names of a particular Stream?
Hello All,
I have 2 questions here. 1.Is it possible to get all components of a Stream? by giving StreamName as input, I need to list all components of a particular Stream. 2.With the Componentname i need to get all filenames of that component. I tried myself with different ideas but couldn't make it. kindly post your suggestion on this. Thanks in advance. |
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Jul 30 '15, 8:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jul 30 '15, 8:28 a.m.
Try https://jazz.net/forum/questions/202289/on-delivery-of-changeset-how-to-retrieve-component-list-under-a-stream-via-changeset/202299
Or this https://rsjazz.wordpress.com/2013/09/24/managing-workspaces-streams-and-components-using-the-plain-java-client-libraries/ and check the related posts and links provided. Comments
Surya Raj
commented Jul 30 '15, 9:44 a.m.
Hi Ralph,
Ralph Schoon
commented Jul 30 '15, 10:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you looked into the code in https://jazz.net/forum/questions/202289/on-delivery-of-changeset-how-to-retrieve-component-list-under-a-stream-via-changeset? That explains how to get it for a stream. It uses server API, but I would assume the client API has also a call like
Surya Raj
commented Jul 31 '15, 2:22 a.m.
Ralph, with the above code i got all UUID's of a stream, still I need to get component names also. With the below code, cant find the component names
Can u help me out in this situation.
Thank you.
Surya Raj
commented Jul 31 '15, 2:25 a.m.
Ralph, with the above code i got all UUID's of a stream, still I need to get component names also. With the below code, cant find the component names
Can u help me out in this situation.
Thank you. |
If you are using it in a script then you can also try the scm commandline.
https://jazz.net/library/article/1031
The listing of components and files/folders for a component is at the bottom of the page.
|
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.