RTC SCM Command Line Iinterface: Display Stream and assoiciated Team Area
On SCM CLI, is there a way to get output of "streams and associated team areas together". The list command list down the Streams and Team areas in a repository but I am looking for an output which shows list of streams and the associated team area. Please advice.
|
One answer
The <tt>list streams</tt> command will output the name of the owner after the name of the workspace. This is slightly more explicit when using <tt>--json</tt>
> lscm list streams -r testServer (1213) "$$$ stream 1" Mother Ship (1214) "175254 Test" Mother Ship (1219) "a" testSuspendTA (1221) "aa2" testSuspendTA (1222) "aaa Stream" testSuspendTA > lscm list list stream -r testServer --json [ { "name": "$$$ stream 1", "owner": "Mother Ship", "type": "STREAM", "url": "https:\/\/localhost:9443\/jazz\/", "uuid": "_mTvFQB5rEeCRddM5SPpY1g" }, { "name": "aa2", "owner": "testSuspendTA", "type": "STREAM", "url": "https:\/\/localhost:9443\/jazz\/", "uuid": "_rcOpsM2FEd-EopoDdX8bmQ" }, ... To determine whether or not the owner is a team area, you would need to cross reference the name with the output of a <tt>lscm list teamareas</tt> command. |
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.
Comments
Any command to get the "stream and the stream owner " as output may also work. Please reply.