Well, no matter how you do it, you definitely need a task id (as you pointed out, this is in the URL). What we actually do inside is just to insert a link to the Asana task - it contains an identifier, defined it as an asana task and can be accessed in many views, so you can go to the task that it talks about viewing commit history. Very comfortably!
Then we have what essentially is a hook for searching https://app.asana.com/ ..., take the task identifier and post a new comment related to the commit in our source and the commit message.
Using URLs means that the link goes both ways, which is incredibly convenient.
agnoster
source share