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

How to determine change times?

I'm trying to extract various pieces of information out of an IChangeHistory. One of the pieces of information I need to extract is when each change to an IVersionable was made. Curiosly IChange doesn't expose this information as I expected it would...where is the best place to find it?

Is resolving the "afterState" against the change history's configuration the right way? How does that work for DELETE changes where the after state is null?

I'm also having a hard time determining the canonical name of an IVersionable (using locateAncestors/determineAncestorsInHistory) when said versionable was created, renamed & then deleted all withing the same baseline era.

1

0 votes



5 answers

Permanent link
Changes are contained in a change set so you may want the IChangeSet#getLastChangeDate.

0 votes


Permanent link
Changes are contained in a change set so you may want the IChangeSet#getLastChangeDate.


Won't that give an aggregate view of all of the the changes in the set? Is it not possible to see when the modifications, whatever they might be, are actually checked into the workspace?

0 votes


Permanent link
Any update on how to determine the actual delete date for a versionable?

0 votes


Permanent link
To get that information, you would need to access the previous states of the change set to look for the one where that files was first deleted. You can get the previous state of a change set using the #getPredecessorState method.

0 votes


Permanent link
To get that information, you would need to access the previous states of the change set to look for the one where that files was first deleted. You can get the previous state of a change set using the #getPredecessorState method.


Thanks for all of your informations. A while ago, Im also searching for the answers on how to know the actual delete for a versionable. Yet I found the answers. Thanks, the support team is so good here.

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
× 11,079

Question asked: Mar 16 '11, 1:08 p.m.

Question was seen: 9,969 times

Last updated: Mar 16 '11, 1:08 p.m.

Confirmation Cancel Confirm