It's all about the answers!

Ask a question

RTC SCM Command Line Iinterface: Display Stream and assoiciated Team Area


Kaushambi Singh (371310379) | asked Mar 05 '13, 12:49 p.m.
edited Mar 05 '13, 1:11 p.m.
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.

Comments
Kaushambi Singh commented Mar 05 '13, 2:15 p.m.

Any command to get the "stream and the stream owner " as output may also work. Please reply.

One answer



permanent link
Andrew Niefer (7135) | answered Mar 05 '13, 2:44 p.m.
JAZZ DEVELOPER
edited Mar 05 '13, 2:45 p.m.
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


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