I’ve been unsuccessful in finding a way to get an actual audit trail that hasn’t been truncated or altered either by webhook or by the “Stories” API calls.
- Via “Webhook” API calls, I setup a webhook on a project in Asana. Successful after handshake.
- I make a change to a task: Asana sends the changes to my webhook “receiver” containing some “possibly duplicate” changes.
- I grab the resource ID, and do a stories API call to get the stories history. Ok, got it.
So this is working as long as I only have ONE task and ONE change.
- Now: I make a series of changes to several tasks in a very short time period, say, 10-15 seconds to represent what might be real life changes to several tasks by several users.
- Some arbitrary time period in the future (30 seconds? 10 seconds? 1 minute?) Asana hits my receiver with “a list of changes that is NOT exact” and is some sort of strange, boiled-down summary of the changes.
- Okay, I’m told I can’t rely on what gets sent through events and I should look up each task’s stories to find the details. So I search through each change item, grab resource Id’s that I think are pertinent, like for the tickets that I changed for example, and do a stories API lookup for each unique task Id, thinking: “This is the correct way to get a task’s audit trail” (spoiler: nope!)
- I see nothing like the actual truth of those changes. In fact, some actually disappear (like if I move a task from one section to another – it actually DELETES the story?! What? Why would you remove an event instead of telling me exactly what the event was honestly?!).
Now I’m confused and I’m spending hours searching through the forum and documentation trying to figure out what I’ve done wrong…why would the API not tell me the truth?
Question 1: Is there some other way that I can get a list of actual changes to a task that represent what happened IN REALITY?
Question 2: if there is no other way to get the actual truth of a task’s history, then what possible reason could there be to NOT tell your customers the truth about what happened to a task and make us guess and have gaps missing about the truth of a task’s history?
Boolean: Data integrity = false. Unreliable.
Asana is super cool and I love it and all of the devs are awesome and everyone on this forum is awesome – just so you don’t think I’m throwing hate around