Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

How to get RTC component list

 How to get RTC component list under project area with owner and visibility details?

0 votes



2 answers

Permanent link
Well, you open the Eclipse client, connect to the repository and the project area.Then you open the Source Control node in the Team Artifacts view and you can see all components visible to you.

0 votes

Comments

 Hi Ralph,

I can see the components with visibility information. But owner is not displayed.What I am looking for is to export the components information (with owner & visibility) to csv or txt. We are using RTC 4.0.4 version. 


Permanent link
John,

in Eclipse RTC client open search --> Jazz Source Control --> Components, pick your server and set the project / team area as owner. This will display a list of components at least with owner. However, the list is not exportable.

To get an exported list with all info you require currently mandates to script against the SCM CLI. The following commands will create the list you envision:

>scm list components -r <repo> --projectarea <projectAreaName>
parse the output and pipe the list of component IDs into:

>scm get attributes --name --ownedby --visibility -C <ComponentID>

If you have a long list of components do set the -max parameter in the first command.
If you have access to Perl this would be a quick script of a few lines, all the easier as the scm commands support -json output which you could easily parse and write out as .csv

- Arne

0 votes

Comments

Hi Ame,

Command "scm get attributes --name --ownedby --visibility -C <componentid> " does not work for me. It says unknown get subcommand. I am using RTC 4.0.4. Is attributes command available from RTC 5.0?

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
× 12,047

Question asked: Oct 24 '14, 5:03 a.m.

Question was seen: 6,577 times

Last updated: Oct 29 '14, 3:49 a.m.

Confirmation Cancel Confirm