A way available to the user to get the task ID?

I want to make a git hook that will automatically comment on an open problem in asana when someone commits with a specially formatted message. Something like:

asana task-id: Fix whatever 

The main problem I ran into is not an easy way to get the task id. The IDs are quite long, and the only place I see them in the user interface is in the url when I click the task. This is a bit cumbersome and error prone when trying to copy it, and it is not obvious to the user.

Is there an easier way to comment out a task from a shell script (or git hook)?

+7
asana
source share
1 answer

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.

+8
source share

All Articles