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

Refactor to require assignment of code to asana ID #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kalleth
Copy link

@kalleth kalleth commented Sep 6, 2013

Our hubot communicates via HipChat, which uses different short codes to
refer to people other than their full names. For example, to assign a
task to me, I would do:

todo: @trussell Do something soon please!

I've refactored to require first telling hubot which asana ID maps to
which 'person', rather than attempting to do fuzzy-finding (Which
didn't work for our case).

You assign like:

@hubot todo alias 1251251251512 @trussell

And you get the asana ID of the users by doing

@hubot todo users

I've also adjusted the constants default values to be more meaningful,
and fixed error reporting for the latest version of the Asana API.

Our hubot communicates via HipChat, which uses different short codes to
refer to people other than their full names. For example, to assign a
task to me, I would do:

    todo: @trussell Do something soon please!

I've refactored to require first telling hubot which asana ID maps to
which 'person', rather than attempting to do fuzzy-finding (Which
didn't work for our case).

You assign like:

    @hubot todo alias 1251251251512 @trussell

And you get the asana ID of the users by doing

    @hubot todo users

I've also adjusted the constants default values to be more meaningful,
and fixed error reporting for the latest version of the Asana API.
@kalleth
Copy link
Author

kalleth commented Sep 6, 2013

As we only use Hipchat, I'm not sure how nicely this will translate to other host services. Sorry if it's a bit hipchat specific.

@kyleknighted
Copy link
Owner

There is a merge conflict - could you resubmit?

@dylanh724
Copy link

Did this ever get merged? I use hipchat as well

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

Successfully merging this pull request may close these issues.

3 participants