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

RTC SCM : Given a Filed Against, how to get all the Streams/ Repository Workspaces

Hi Team,


We have a usecase wherein given a filed against, it should return me all the Streams or repository workspaces part of it.

Is it possible in Query or JRS or SCM APIs.

Please assist me on this. 

Thanks in advance.

0 votes



2 answers

Permanent link

As far as I know, there is no simple relationship between a filed against and a build/stream.

0 votes


Permanent link

To retrieve all repository workspaces associated with a specific stream in IBM's Rational Team Concert (RTC), you can utilize the REST/OSLC APIs, although there isn't a direct API call for this purpose. Start by listing all repository workspaces using the REST API endpoint that retrieves workspaces without stream associations. This gives you a comprehensive list of workspaces to work with. Once you have the list of all repository workspaces, you will need to identify the specific stream ID you are interested in. Since there is no built-in method to query workspaces by stream, you will have to iterate through each workspace and check its properties to determine if it flows into the specified stream. This process can be somewhat cumbersome, especially if there are many workspaces involved. For those comfortable with Java, using the Java API may provide a more efficient approach, allowing for easier access to workspace properties and filtering capabilities. Alternatively, if you prefer a graphical interface, the Eclipse client offers tools like the flow diagram and pending changes view to visually inspect and manage repository workspaces associated with a stream.



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
× 12,148
× 7,625
× 1,455

Question asked: Nov 12 '24, 12:21 a.m.

Question was seen: 1,761 times

Last updated: Nov 12 '24, 8:59 a.m.

Confirmation Cancel Confirm