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

Fetching all contributors for a versioned file/folder

I need API support to perform the following query: "Given a FileItem (current state of a versionable), fetch all contributors who have modified that versionable in the past". The "getModifiedBy()" method on "Versionable" gives the user who contributed towards the current state of the file. So, I need to reach the previous states of a versionable to meet my needs.

Can anyone please throw some light on how this can be possible?

0 votes



One answer

Permanent link
I was able to do the following with help from Paul Komar. Thanks Paul.

Get all change sets for the versionable using: IScmService.getHistoryForVersionable()
Then, I use IChangeSet.getAuthor() to get the Contributor.



I need API support to perform the following query: "Given a FileItem (current state of a versionable), fetch all contributors who have modified that versionable in the past". The "getModifiedBy()" method on "Versionable" gives the user who contributed towards the current state of the file. So, I need to reach the previous states of a versionable to meet my needs.

Can anyone please throw some light on how this can be possible?

0 votes

Your answer

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
× 10,952

Question asked: Jul 07 '10, 1:55 p.m.

Question was seen: 7,042 times

Last updated: Jul 07 '10, 1:55 p.m.

Confirmation Cancel Confirm