This article describes a method to locate a deleted work item when you only have the item's object ID, as long as the item has not been purged from the recycle bin.
When an item is deleted, its presence is blocked by a RecycleBinEntry item. We store a minimal amount of data related to the original record in this RecycleBinEntry record. Fields that are stored are:
While the original object ID is stored with the RecycleBinEntry record, it is not possible to query on this field.
Instead, a method to locate the record easier would be to use the CSV export record built into the API. In the example below, you may update the Type.Name attribute to reflect other object types.
https://rally1.rallydev.com/slm/webservice/v2.0/recyclebinentry.csv?fetch=ItemOID,ID,Name,Type&query=(Type.Name = Defect)
This will output a CSV file which you can open in Excel to find the original object ID in the ItemOID field. This will allow you to locate the Formatted ID of the item, which you can then use in a search in the Recycle Bin within the UI to find and undelete the record.