Discussion

Ask a Question
Back to All

Mashup: How to use BugSimpleHistories or UserStorySimpleHistories

I am building a suite of custom units and have had no luck in using the history objects in them. I am attempting to access BugSimpleHistories like I would when working with other entities, for example:

model: 'item:BugSimpleHistories.count()',

I have tried alternate approaches, learning from the history objects from the reporting UI, however this does not function either:

model: 'item:BugSimpleHistories.CurrentBug.times.Where(Role.Name is "Developer").count()',

Similar approaches to other entities work correctly: model: 'featureestimate:features.sum(initialestimate)',

What approach should I take to work successfully with history objects?