[RTC] Is it possible to retrieve deleted allocations through REST API?
![]()
I'm looking for a way to retrieve deleted aloocations information through the REST API. I've noticed that when an user is removed from a project area, I'm still able to retrieve its allocation. However, if the user delete the allocation, it no longer shows in result set.
Is it possible to do so using the REST API? If not, any thoughts on how to achieve this? |
Accepted answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Oct 23 '14, 5:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I can not comment to REST, but I have looked into the Java API a bit. I don't think this is going to be possible.
The data for deleted work resource details seems not to be preserved anywhere. In addition, if you delete all allocations, the system recreates default allocations automatically. Andre Gusmao selected this answer as the correct answer
|
Comments
I forgot to include the query I'm using:
https://localhost:9443/ccm/rpt/repository/generic?fields=generic/com.ibm.team.apt.resource.WorkResourceDetails/%28itemId|contextId|uniqueId|modified|itemType|stateId|startDate|endDate|assignment|contributor/%28itemId%29|modifiedBy/%28itemId%29|developmentLine/%28itemId%29%29&size=100