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

History usage - RTC

Hello,

I would like for a specific file to "replace" the file with an older version from the history.

What is the best practice for that ?

Thanks,

Yaron

0 votes



6 answers

Permanent link
Yaron,

You would first need to load a folder containing the file into a local
sandbox. Then you could show the history for the file in the history
view. Form the context menu of the file state/revision you want, you can
choose Load. This will load the contents of the previous state into your
workspace resulting in a pending change. You can then check-in (and
deliver) the change.

Hope this helps,
Michael

yaron wrote:
Hello,

I would like for a specific file to "replace" the file with
an older version from the history.

What is the best practice for that ?

Thanks,

Yaron

0 votes


Permanent link
Is it possible to create a query that will return all records that a user owned at any one time?

Full-text search doesn't seem to search the history tab in defect records. Can this only be done through a report?

0 votes


Permanent link
Is it possible to create a query that will return all records that a
user owned at any one time?

Full-text search doesn't seem to search the history tab in defect
records. Can this only be done through a report?

Historical states cannot be queried using full text or the work item
query editor. A report is the only option here.

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
Hello,


Michel, the scenarion you suggested is:

You would first need to load a folder containing the file into a local
sandbox. Then you could show the history for the file in the history
view. Form the context menu of the file state/revision you want, you can
choose Load. This will load the contents of the previous state into your
workspace resulting in a pending change. You can then check-in (and
deliver) the change.

Are you sure that you can do it also with Visual Studio?
I did not see load option from the history view.
What are my options?

Thanks,

Yaron

0 votes


Permanent link
There is a 'Compare with Local' option in the History View. You could use that on the version of your choice to get the compare editor to show up the differences between the older version and your current one. Once in the conmpare editor, you could copy the contents of the older version over your current once or just copy the changes that you need.

0 votes


Permanent link
I am from Rational Publishing Engine team, now we have a customer who want to extract version history for one file in RTC repository. And I checked the RTC REST APIs https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI and did not find corresponding API which can get the above information from RTC.

I wonder if there are such Reportable REST API for exposing version history from RTC. Or I missed something. or are there any other ways can achieve this? Please help clarify.

Much appreciated.

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

Question asked: Jun 21 '10, 7:26 a.m.

Question was seen: 8,229 times

Last updated: Jun 21 '10, 7:26 a.m.

Confirmation Cancel Confirm