It's all about the answers!

Ask a question

History usage - RTC


Yaron Norani (47267065) | asked Jun 21 '10, 7:26 a.m.
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

6 answers



permanent link
Michael Valenta (3.7k3) | answered Jun 21 '10, 9:11 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Michael Walker (99215201157) | answered Jun 25 '10, 1:20 a.m.
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?

permanent link
Patrick Streule (4.9k21) | answered Jun 25 '10, 4:25 a.m.
JAZZ DEVELOPER
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

permanent link
Yaron Norani (47267065) | answered Jun 29 '10, 11:09 a.m.
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

permanent link
Sreerupa Sen (1.0k4) | answered Jun 30 '10, 1:10 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Zhi Jun Yin (1612) | answered Nov 29 '11, 9:39 p.m.
JAZZ DEVELOPER
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.

Your answer


Register or 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.