Jump to content

Asana Workflow


Recommended Posts

Hi everyone,

 

here is a workflow for Alfred integration with Asana. It integrates through concept of GTD. Also it integrates with AnyBar and Atlassian Jira. It is quite advanced so check the documentation here: https://jotc.herokuapp.com/software/alfred_workflows#asana_workflow. It basically looks like this:

asanaworkflow-5ac602b73dee460662b6e5787b

 

It is written in Ruby, dependencies are listed in readme with guidance.

 

THE WORKFLOW IS DEPRECATED. I use now an alternative written in Golang but it doesn't include a cloud solution (thus not synced between mobile and computer) so I don't offer it yet.

 

Have a nice day  :)

 

Joe

Edited by Joe7
Link to comment
  • 2 months later...

Hi b_d_m_p,

 

glad to hear that you are interested :-).

 

The command for setting up the credentials is: set:asana:credentials personalaccesstoken:workspace_name - not project. You have tried this?

 

What do logs say? You may find them here $HOME/Library/Application Support/Alfred 2/Workflow Data/com.herokuapp.jotc.asana/asana.log. Also you may find next to the log file a config file into which the workflow saves the data.

 

Have a nice day :-).

 

Joe

Link to comment
  • 7 months later...

Hi Joe, 

 

Thanks for this workflow. Unfortunately, I don't succeed in the synchronisation. An error notification appears and says to check the logs, which are as follow:

 

undefined method `[]' for nil:NilClass,

.../Alfred 3/Alfred.alfredpreferences/workflows/.../helpers/sync_helper.rb:78:in `insert_due_today_into_today'
.../Alfred 3/Alfred.alfredpreferences/workflows/.../sync_asana.rb:24:in `block in <top (required)>'
.../Alfred 3/Alfred.alfredpreferences/workflows/.../helpers/asana_helper.rb:35:in `communicate'
.../Alfred 3/Alfred.alfredpreferences/workflows/.../sync_asana.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
-e:1:in `<main>'
 
Any hint to make it work?
Cheers,
Emmanuel
Link to comment
  • 2 weeks later...

Hi Emmanuel,

 

I am very sorry for the late reply. From the error it seems that you don't have created Today project or synced it with the local configuration. Contact me on Skype, if you will, joe.erneker, we can solve it easily I believe.

 

Thanks.

 

Joe

Link to comment

Please don't ask users to install gems globally to make your workflow work. It's bad practice and user-unfriendly.

 

There's a good chance your workflow will break something else, or that some other software doing the same suspect thing will break your workflow (because they require different library versions, and Ruby doesn't support versioned libraries).

 

Please bundle any dependencies with your workflow. That way it will work out of the box, won't cause problems with other software, doesn't require users to mess about in Terminal, and it will also sync seamlessly between machines. And when you update the dependencies, users won't have to go through it all over again. They can just install the new version of the workflow.

Link to comment
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...