The Targetprocess Developer Hub

Welcome to the Targetprocess developer hub. Here you'll find comprehensive guides and documentation to help you start working with Targetprocess as quickly as possible and support you if you get stuck. Let's jump right in!

Ask A Question


Mashup: How to use BugSimpleHistories or UserStorySimpleHistories

Posted by Llewellyn 3 months ago

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?

Loading comments...