Difference between modified & lastChangeDate of a Changeset
Hi ,I am using RTC Enterprise version 6.0.4.
I was going through the attributes of a changeset and I am having doubt in these 2 attributes :
lastChangeDate : changeset last modified date until the changeset is not marked as 'Complete'.
modifed : if we make any changes to a changeset even after delivering a changeset. I found that we can modify a changeset comment even If I have delivered it, that changes the modified attribute of the changeset.
Am I correct ? If a changeset comment can be modified then what other attributes we can modify in a changet , once we have delivered it , which modify modified date attribute of it ?
Also I can't find any official documentation which explains them .
|
Accepted answer
The API Javadoc on IChangeSet.getLastChangeDate() says:
Shiva Tiwari selected this answer as the correct answer
Comments
Shiva Tiwari
commented Mar 28 '18, 5:13 a.m.
@David Lafreniere , Thanks for the response.Just have few more doubts :
Yeah , I read the java doc for the API , but that doesn't mention which all modifications made on a changeset changes the modified date of a changeset. So when a changeset is marked as complete and after that If I deliver it , will that changeset the modified date of it ?I checked that it's not happening . It doesn't modify the modified date of changeset. Am I correct ?In ChangesetSearchCriteria search query works on the lastChangeDate of it , right ?Actually I have done a poc for that but have few doubts.
1
Delivering, accepting, suspending, resuming will not update the IChangeSet.getLastChangeDate(), as mentioned, only check-ins and the completion of the change set do. Also IChangeSetPropertiesSearchCriteria.setModifiedBefore() for example only considers the IChangeSet.getLastChangeDate(), and not IItem.modified(). So for your use case, you can ignore the IItem.modified() date (which gets updated when any of the properties in IChangeSet has been changed, and saved to the database).
|
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.