It's all about the answers!

Ask a question

[RTC] How to get a file changeset history in SCM via JAVA API


Chandan M B (1132761) | asked Feb 14, 2:58 p.m.

 Hi,


I have a file stored in SCM delivered using changeset associating to the workitem. I need to fetch the latest changeset associated to the file in SCM so that I can get the workitem number with API.

Any leads would be appreciated.

Kind Regards,
Chandan



Comments
Chandan M B commented Feb 15, 6:13 a.m. | edited Feb 15, 6:13 a.m.

Ralph Schoon commented Feb 15, 8:06 a.m. | edited Feb 15, 8:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I'd strongly suggest to not touch that API as it is internal and subject to change. 

If you want to access the EWM SCM system and create automation, you have these options as far as I can tell:

  1. Use  the SCM Command Line (LSCM/SCM)
  2. Look into the Plain Java Client Libraries. Part of the SCM API (filesystem,scm) is available there you will understand what is what looking at the package names. I have successfully used it for my automation. But even here might be spots where you need to use internal API, however, that API has been very stable so far. 

Be the first one to answer this question!


Register or to post your answer.