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

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

0 votes

Comments

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. 



One answer

Permanent link
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

  1. Get the team area.
  2. Get the predecessor states and the merged predecessor states   teamArea.getPredecessorState(),             teamArea.getMergePredecessorState()
  3. Do the same from these states.
  4. Once you found the first state you can look at the, teamArea.getModifiedBy() and teamArea.modified()
As I said, I am not sure this history is created for team areas and if this would work, but it would be worth trying.


         

0 votes

Comments

Hi Ralph,
Thanks for quick response :)

Is their any other way to know who has created team area and Creation date. I want to track who has created teamArea?

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
× 10,941

Question asked: Oct 08 '13, 5:57 a.m.

Question was seen: 4,042 times

Last updated: Oct 09 '13, 5:20 a.m.

Confirmation Cancel Confirm