It's all about the answers!

Ask a question

How to retrieve the version number of a IFileItem with the java client api


Matthias Peus (2314) | asked Nov 19 '15, 4:50 a.m.
Since RTC 5.0 for each file version a version number exists. I have a list of object of type IFileItem and want to retrieve the version number with the java client api. But I could not find out how to do this. Can someone give me an example how to achieve this ?

Accepted answer


permanent link
Michael Valenta (3.7k3) | answered Jan 13 '16, 9:18 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
I believe that IWorkspaceManager#getVersionableIdentifiers() is the API you want to call.
Matthias Peus selected this answer as the correct answer

Comments
Matthias Peus commented Jan 27 '16, 7:46 a.m. | edited Jan 27 '16, 8:02 a.m.

Thank you very much. I have verified this and it works !

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.