It's all about the answers!

Ask a question

SCM components and their relation to stream and Project areas using database


Rashmi B (19126) | asked Sep 18 '17, 4:15 p.m.

 I am trying to get the list of SCM components and their relation to stream and Project areas.

Is there a way I can get the list using database or any other way. I dont want to open  individual Project areas to get this information.
I am using RTC 5.0.2 ifix003

One answer



permanent link
Ulf Arne Bister (1.3k113) | answered Sep 19 '17, 4:13 a.m.

Hi,

you can use >scm list components --all (cp. SCM List Components ) or script using the Plain Java API. If you want to see this using the UI go to e.g. the web ui -> SCM -> Advanced Search, switch to components and use * as the name. Depending on the number of components it will take a while for results to show up.
If you are looking for completeness and have a really large number of components (100k or so) I would opt for a Java script and include paging.

If this answers your question please mark it as accepted.

- Arne


Comments
Ulf Arne Bister commented Sep 19 '17, 4:14 a.m.

Ah, I do not recall if 5.0.2 already had the "search components" in the web ui. You might have to resort to Eclipse if you want to use UI.

Your answer


Register or to post your answer.