How to get teamArea createdBy and creation date using java api?
My requirement is to find out Team Area changes history like who has created teamArea ,creation date, modification date, modified By? Does anybody know how to get this data for teamArea using client api? However I am able to get modification date and modifiedBy value for the teamArea, But I want to get createdBy user and creation date.
Thanks in Advance,
Nilesh Patil
Thanks in Advance,
Nilesh Patil
One answer
I have not tried that and I am not even sure the data is there. What you can try is the following.
All IAuditables have states, especially predecessor states and merged predecessor states.
A state is derived from modifications and can have as a max a predecessor state and a merged one. The tree of these predecessors make up the history of an object.
You can try to
All IAuditables have states, especially predecessor states and merged predecessor states.
A state is derived from modifications and can have as a max a predecessor state and a merged one. The tree of these predecessors make up the history of an object.
You can try to
- Get the team area.
-
Get the predecessor states and the merged predecessor states teamArea.getPredecessorState(), teamArea.getMergePredecessorState()
- Do the same from these states.
-
Once you found the first state you can look at the, teamArea.getModifiedBy() and teamArea.modified()
Comments
Millard Ellingsworth
FORUM ADMINISTRATOR / JAZZ DEVELOPER Oct 08 '13, 7:56 p.m.Have you looked through Ralph's blog? http://rsjazz.wordpress.com/?s=team+area I always start there when I have Plain Java Client questions.