![]() That should be it! If it doesn’t work, try adding some puts debug statements and running it manually. You can use crontab -e to edit your user crontab and create an entry like this: */10 * * * * /Users/devon/bin/jiraomnifocus.rb Then you can add a cron entry to run it every 5 minutes or 10 minutes or whatever you need (it will take a minute or so to run so don’t make it run too often). I have mine in /Users/devon/bin/ but you can put it anywhere. You’ll need to edit the configuration values at the top of the script (please note this current version does not hide/encrypt your password), and then save it somewhere. You will need to install a few gems gem install rb-appscript json The Ruby code is straight forward and it should be easy to modify to do other things to meet your specific needs. It also checks all the OmniFocus tasks that look like they are related to Jira tickets, and checks to see if the matching ticket has been resolved. I chose not to pull over the full description, or comment history into the task notes as it’s usually more than I want to see in OmniFocus. The note part of the OmniFocus task is just the URL to the Jira ticket so you can easily go right to it. ![]() The title of the task is the Jira ticket number followed by the summary from the ticket. It pulls back all unresolved Jira tickets that are assigned to you and if it hasn’t already created a OmniFocus task for that ticket, it creates a new one. I’ve never written anything in Ruby before, so it’s probably terribly written, but it works! I have it running every 10 minutes as a cron job on my laptop. Google Calendar Don’t let yourself be bogged down with 4853495390 events and (sometimes repetitive) tasks on your Google Calendar anymore. You will also have a record of all files at all times. So while I was stuck in the San Francisco airport a few nights ago waiting for a very delayed flight home, I hacked up a simple Ruby script that does what I need it to do. This simple Notion integration is great for managing and organizing content and files without losing them or misplacing them. Either my version of Jira was too new (5.1.5), or my OmniFocus is too new (1.10.5), or my Ruby is too new, or various Ruby Gems wouldn’t install correctly, or the integration required massive additional library/software installation. Unfortunately every single one I tried didn’t work. I finally started looking at possible integrations between the two tools, and I found several scripts that sync Jira tasks into OmniFocus. I also use OmniFocus for other types of tasks: personal, errands, write an email to so-and-so, create a proposal, etc… What that’s left me with is two separate to-do lists, that I have to check separately, which is a pain. At Spark::red we use Jira extensively for internal projects and tasks, for alerts and issues, and for handling client support requests.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |