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

Find by API the local file name of new file in discarded change set

Hello to the forum members,

I'm interested in the following scenario:
1) Create a change-set with new file in it.
2) Discard the change-set.

I'd like to find the local file name of the discarded file. I follow the events being listened by EventManager. I see that event IChangeHistoryEvent is being called with the type IChangeHistoryEvent.DISCARD_CHANGE_SETS. However, the versionable I receive does not have a state ID, so trying to get its local path using ICopyFileArea fails.

I'll be grateful for suggestions how to get the file name of the deleted file.

Thanks,
Gidi

0 votes


Be the first one to answer this question!

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
× 1,204

Question asked: Sep 29 '16, 1:38 p.m.

Question was seen: 2,232 times

Last updated: Sep 29 '16, 1:38 p.m.

Confirmation Cancel Confirm