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. |
5 answers
![]()
Changes are contained in a change set so you may want the IChangeSet#getLastChangeDate.
|
![]() 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? |
![]()
Any update on how to determine the actual delete date for a versionable?
|
![]()
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.
|
![]() 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. |
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.