Update JIRA-issues with OmniFocus

I’ve been using OmniFocus for my tasks for a while now, and i am very satisfied. Since JIRA is our issue-tracker of choice at Liip, i want to handle those tasks from within OmniFocus as well. As soon as i got them imported with this script i began to assemble some applescript.

Thanks to the defer-script of Daniel N. Byler and the omniplan-to-jira-script i was even able to get something working (even though my applescript-experience is close to zero) – so THANKS A LOT for publishing it! I can now update the estimation-time, the due-date and the assignee directly from OmniFocus in JIRA. The assignee is the context in my OmniFocus.

And then, here is my setup:

Import all your jira-tasks right your inbox with the Hackerdude’s “Jira to  Omnifocus”-Ruby-Script.

Now open your Terminal and go:

mkdir -p ~/Library/Scripts/Applications/OmniFocus/
cd ~/Library/Scripts/Applications/OmniFocus/
wget https://svn.liip.ch/repos/public/misc/omtoji/tags/0.1/omtoji.scpt
chmod 600 omtoji.scpt
open omtoji.scpt

Set your username and password on top of the file and save it.

In OmniFocus, right click on the toolbar and select “customize toolbar”. There you can drag “omtoji.scpt” up to have a shortcut. now select a task and change a value, such as the estimation time, enter and hit the script in your toolbar. Check the issue in jira, it should be updated with the values in OmniFocus. In my setup, each JIRA-user is a context in OmniFocus. So if you change the context and run the script, the assignee will be changed. You may trigger the script with the help of fastscripts even faster.

Patches are of course very welcome. Especially that ugly “reformat the date-“line of code 🙂 But worksforme and doesthejob. So well… a closer integration with the importer would be nice as well, if someone is fit in talking ruby this might be a appreciated task 🙂

It would be nice if information as the fixfor-version or the due-date would be integrated as well, but so far for now. 🙂