It's all about the answers!

Ask a question

How do I get the IContibutor/IContributorHandle of the creator of a changeset using the API?


Daniel Reilly (1431620) | asked Sep 04 '14, 2:33 a.m.
How do I get the IContibutor/IContributorHandle of the creator of a changeset using the API?  The author property is never set and the .getAuthor() method always returns null.  I need the owner/author of the changeset.

Accepted answer


permanent link
Daniel Reilly (1431620) | answered Sep 04 '14, 3:25 p.m.
I was using:

IChangeSet changeSet = scmChangeset.getSnapshotChangeset((IChangeSetHandle) changeSetHandle);

to get the IChangeSet and this interface does not set author/modifiedBy.  Switched to:

IChangeSet changeSet = (IChangeSet) repo.itemManager().fetchCompleteState(changeSetHandle,null);

which provides all properties.
Ralph Schoon selected this answer as the correct answer

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.