I am trying tp calculate time spend for each status in task, I used the “Get stories from a task endpoint” However, I noticed that change in status is overwriting with the existing one. For example,
"resource_type": "story",
"text": "Immanuel changed Status from \"-\" to \"Ready for Audit\"",
"type": "system",
"resource_subtype": "enum_custom_field_changed"
when there is status change from “ready for audit” to some other it just replacing it instead of creating a separate log. Is there a way to capture time between each status.
A way to overcome this behavior is, as Larry said, to set up webhooks on each project you’re interested in, which will send you an event when something changes in that project. When a change happens that you’re interested in, you’d record it in a data store on your end, and then do your reporting, etc. from there.