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

How to narrow down lscm query to stream for custom attributes?

I would like to get a list files (and components) along with version which has specific scm custom attribute set for a given stream.

What I know is that I can issue the following command to get:

  • Only Files & versions
lscm query -i --file "(has_attr(review_status)" -r  https://test.com:9443/ccm/


 

I could not use the --stream along with this to narrow down to a stream and display the files component wise.

Is this possible with scm CLI?

0 votes

Comments

Is this possible?



One answer

Permanent link
This is not possible with the current CLI commands.

It looks like the "--file" option only supports the argument of "in_baseline(' baseline UUID ')" and not "in_stream(' stream UUID ')" for example.

If you take a snapshot of the stream (which ends up creating a baseline on each component) you could then use that command.

0 votes

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
× 10,938

Question asked: Aug 26 '16, 7:21 a.m.

Question was seen: 3,885 times

Last updated: Sep 04 '18, 2:24 p.m.

Confirmation Cancel Confirm