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

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.

0 votes

Comments

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



One answer

Permanent link
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.

1 vote

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: Mar 05 '13, 12:49 p.m.

Question was seen: 4,890 times

Last updated: Mar 05 '13, 2:45 p.m.

Confirmation Cancel Confirm