How do I distinguish between changeset state change vs. change to an IVersionable?
I want to know if an IVersionable was altered or if just the state of the changeset was changed during a given timeframe.
Timeframe being, the time that I get from getLastChangeDate() compared to the last time that I looked at the given changeset.
Specifically, if the timestamp of the changeset has been modified, I want to know what caused it:
--changeset state change
--a change to an IVersionable
The documentation says, "This timestamp changes when the change set is created, closed or when the nested changes are altered in any way. "
Is there a way to programmatically find out if a change was made to just the state of the changeset vs. a change to an IVersionable associated with the given changeset?
I do not know if RTC API keeps track of the last modification time and type of each IChange (upto a limit, e.g., last three)?
I understand there can be so many of these.
I am not aware of such granularity. But if there is, that would be helpful.
|
Be the first one to answer this question!
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.
Comments
Waiting to hear some resolution/idea on the above question.
If you want to enable yourself, start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ then try to figure the API out from examples on the blog (tagged scm and linked from the interesting links page). Otherwise you can hope someone can answer such specific deep API questions or you play with the API and dig into the SDK based on hints in said blog posts and googling. I don't believe anyone can answer such a question without investing a considerable amount of time.
Hello Ralph,
Hi Kanjbala,
Also consider that the comment or linked artifacts is not something that changes the change set. The change set should only change if new changes are added or the change set is completed. I would not think that changing a comment or link is something that is tracked by the change set itself.