How to get all the componens from a Stream using client libraries??
Hello jazz team
|
Accepted answer
David Lafreniere (4.8k●7)
| answered Jan 11 '19, 4:22 p.m.
FORUM MODERATOR / JAZZ DEVELOPER edited Jan 11 '19, 4:23 p.m.
IWorkspaceManager wm = CMPlatform.getWorkspaceManager(repo);
IWorkspaceConnection wc = wm.getWorkspaceConnection(workspaceHandle, monitor);
List componentHandles = wc.getComponents();
// From here you just fetch the IComponents to get the names.
Also see other component related API explained here: https://rsjazz.wordpress.com/2013/09/24/managing-workspaces-streams-and-components-using-the-plain-java-client-libraries/
Ralph Schoon selected this answer as the correct answer
Comments
Ralph Schoon
commented Jan 13 '19, 5:07 a.m.
| edited Jan 13 '19, 5:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
David, I had provided that link already, thanks anyway. The person asking seems to sometimes ignore the answers.
Ralph -
Often if I answer with anticipation of my response being marked as the 'accepted' answer, I might throw in snippets from other people's answers when that info would add to / compliment my answer (it often happens to be your blog links)... I think this helps just in case people find this post, and end up reading only the accepted answer and skip the other responses.
Thanks for accepting mine as the accepted one by the way, I try to clean-up (i.e. provide an answer) for the SCM questions from time to time (which as you know is a never ending activity, but every little bit here and there helps).
David,
I appreciate your valuable participation and help here in the forum!
|
One other answer
Ralph Schoon (63.6k●3●36●46)
| answered May 02 '17, 3:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Some component related API is explained here: https://rsjazz.wordpress.com/2013/09/24/managing-workspaces-streams-and-components-using-the-plain-java-client-libraries/ |
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.