Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link into git commit that references to Asana? #2

Open
hkirsman opened this issue Nov 1, 2013 · 6 comments
Open

Link into git commit that references to Asana? #2

hkirsman opened this issue Nov 1, 2013 · 6 comments

Comments

@hkirsman
Copy link

hkirsman commented Nov 1, 2013

Or how could I find the task quickly from git repository?

@joelk
Copy link
Member

joelk commented Nov 1, 2013

That's a good question. In just the last couple days I'd been thinking it would be useful if the script recognized an asana URL, so you could copy and paste the entire thing from the address bar instead of trying to select the last component. That would solve your problem as well, with the cost of dumping a pretty big string into the commit message. I'll try and work on this soon, or feel free to submit a pull request if you'd like.

@hkirsman
Copy link
Author

hkirsman commented Nov 2, 2013

Maby writing Chrome or Firefox extension would help. There are sections called "SHOWING A SPECIFIC TASK" and "Example Applications". With this knowledge, writing a Chrome extension would be possible.

@hkirsman
Copy link
Author

hkirsman commented Nov 2, 2013

And if the API is able to get the full url, should or could post-hook write extra code at the end of the commit where we could write the full urls?

@joelk
Copy link
Member

joelk commented Nov 3, 2013

Well, you can always write the full URL in the commit message if you want. That's totally up to you. It's just that currently you'll also have to write the bug # for the script to know what you're talking about.

@hkirsman
Copy link
Author

hkirsman commented Nov 3, 2013

But the script could do it automatically.

Closed #2255425, fixed #124455415

Had some rookie mistakes in the code. 

Asana reference:
https://app.asana.com/app/m/0/5120000841700/2255425
https://app.asana.com/app/m/0/5120000841700/124455415

@hkirsman
Copy link
Author

hkirsman commented Nov 3, 2013

Or maby shorten the task id's too?

Closed #1, fixed #2

Had some rookie mistakes in the code. 

Asana reference:
#1 https://app.asana.com/app/m/0/5120000841700/2255425
#2 https://app.asana.com/app/m/0/5120000841700/124455415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants