Recycle Bin object items not showing in API calls
search cancel

Recycle Bin object items not showing in API calls

book

Article ID: 72502

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction


Running API query to retrieve content of the Recycle Bin for some objects returns no results. To Reproduce:

* Create a story A, create a story B which is a child of A
* delete story A
* try to find story B

Expected Result
Story B is visible in the recyclebin as well as the search page

Actual Result
Story B is only found using the search page, therefore a query using 'recyclebinentry' will not find story B.

Environment

Release:
Component: ACSAAS

Cause

This behavior is due to only parent items that are deleted showing in the Recycle bin. Child objects that are automatically deleted when a parent is deleted only show up on the search page.

Resolution

If one looks for the list of deleted items, please remember that not everything might be listed in the recycle bin because things can be permanently deleted from the recycle bin therefore the best option for obtaining the list of the deleted items would be to use webhooks to get notified of when changes happen in real time: https://rally1.rallydev.com/apps/pigeon/docs/webhooks . 

NOTE:  In order to make the child stories visible in the Recycle Bin, it will be necessary to delete the child stories first THEN delete the parent story.    If the Parent has already been deleted and the child stories are not displaying in the recycle bin, it will be necessary to restore and then delete the child stories individually.  This will allow them to be displayed in the Recycle Bin.