I'm trying to use Asana events API to track changes in one of our projects, more specific task movement between sections. Our workflow is as follows:
- We have a project divided into sections.
- Each section represents a step in the process. When one step is done, the task is moved to section below.
- When a given task reaches a specific step we want to pass it to an external system. It doesn't have to be the full info - basic things + url would be enough.
My idea was to use https://asana.com/developers/api-reference/events to implement a pull-based mechanism to obtain recent changes in tasks.
My problems are:
- Events API seem to generate a lot of information, but not the useful ones. Moving one single task between sections generates 3 events (2 "changed" actions, one "added" action marked as "system"). During work many tasks will be moved between many sections, but I'm interested one in one specific sections. How can I finds items moved into that section? I know that there's a resource->text field, but it gives me something like moved from X to Y (ProjectName) which probably is a human readable message that might change in the future
- According to documentation the resource key should contain task data, but the only info I see is id and name which is not enough for my case. Is it possible to get hold on tags using events API? Or any other data that would allow us to classify tasks in our system?
- Can I listen for events for a specific section instead of tracking the whole project?
Ideas or suggestions are welcome. Thanks