Craig McGuff
Craig McGuff

Reputation: 3978

Using lookback API for release scope change

Assuming I have a specific release with a number of child stories I want to see how the stories for that release change over time (per iteration)

What is the recommended way to get out this information?

Upvotes: 1

Views: 187

Answers (2)

Craig McGuff
Craig McGuff

Reputation: 3978

The ultimate approach I used here was recommended by Rally, behind the Release Scope Change app there is the beginnings of what I need, so I am modifying that app.

  • Basically it gives me the list of all stories/defects that have ever been added/removed from a release
  • Next steps (successful so far...)
    • Remove duplicate entries from the list
    • Add a column for each calendar month in the release
    • Add a flag against each story in the month it was added/removed

I will extend this later with an iteration breakdown, but for now it's pretty good.

Upvotes: 0

amcolosk
amcolosk

Reputation: 210

I would use the lookback api and get all stories at a certain date with the release set as you expect. Then you can change the date field and see the story count changes, or you could parse the user story numbers and track changes. (added or subtracted stories)

Something like:

Ext.create('Rally.data.lookback.SnapshotStore', {
        fetch: ['Name','ScheduleState', 'Project', 'Release'],
        autoLoad: true,
        listeners: {
            load: function(store, records) {
                   //get count or process the records here.
                }
            }
        },
        filters: [
            {
                property: 'Release',
                operator: '=',
                value: releaseReference
            }
            {
                property: '__At',
                value: dateString
            }
        ]
    });

Upvotes: 1

Related Questions