0

In the SDK 2.0 version of the Rally release scope change app, there is a filter being applied to search items that are in the recycle bin (in the _getSnapsForSubset function):

    var deleted_item_from_release_change_filter = Ext.create('Rally.data.lookback.QueryFilter', {
        property: 'Release',
        operator: 'in',
        value:release_oids
    }).and(Ext.create('Rally.data.lookback.QueryFilter', {
        property: '_PreviousValues.Recycled',
        value:false
    }));

In the returned result sets during processing I want to pull these out explicitly but I can't see an easy way to identify them.

During the filter process can I tag these records in some way so I can easily identify them later?

Craig McGuff
  • 3,968
  • 6
  • 30
  • 35

1 Answers1

0

You are using Snapshot store that gets data from LookbackAPI. Per this post and this post LBAPI doesn't track entries in the Recycle Bin, and there is no way to know when something has been restored from the recycle bin. There is Recycled attribute on HierarchicalRequirement in WS API, but it reflects the current value (if the item is currently in the recycle bin, true or false), since WS API does not provide historical data.

Community
  • 1
  • 1
nickm
  • 5,936
  • 1
  • 13
  • 14