This repository has been archived on 2024-04-17. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
Go to file
Brian Hicks d6130d64a8
allow the Session script to start projects and tags as well as tasks
2022-09-14 10:13:49 -05:00
Finish.omnifocusjs converted finish script to typescript 2022-09-09 17:23:59 -05:00
Linear.omnifocusjs read from the host, actually 2022-09-09 17:17:22 -05:00
Session.omnifocusjs allow the Session script to start projects and tags as well as tasks 2022-09-14 10:13:49 -05:00
types read from the host, actually 2022-09-09 17:17:22 -05:00
.envrc add Nix dev shell 2022-09-09 14:43:25 -05:00
.gitignore un-ignore generated output (for mobile) 2022-09-09 15:51:20 -05:00
LICENSE take care of licensing 2022-08-30 16:20:49 -05:00
README.md take care of licensing 2022-08-30 16:20:49 -05:00
flake.lock add Nix dev shell 2022-09-09 14:43:25 -05:00
flake.nix add typescript 2022-09-09 14:44:15 -05:00
tsconfig.json target es2020 with es7 library 2022-09-09 15:36:30 -05:00

README.md

OmniFocus Scripts

Linear

Pull tasks from Linear into your OmniFocus database. When this script runs, it will:

  • Create a tag named "teams" and a tag for each team you're pulling work from under it.
  • Create a singleton-item project named the same thing as the project the task is from.
  • Create a task named "TEAM-123 Name of task" with the URL in the note.

It will also make sure those things exist for each project each time it runs. It's fine if you move the "teams" tag or the projects; the script does not expect them to be at the top level.

The first time you run the script, it will prompt you for a personal API token. You can create one of these in your Linear settings (hit g-s and look for "API" on the left-hand sidebar.)

The token is stored in OmniFocus' credentials database that they make available to plugins instead of being stored in plain text somewhere, so it should be reasonably secure. That said, if you want to rotate or remove the key, hold when invoking the script, and you'll be prompted for a new key.

License

Except for third-party icons and assets listed below, this code is released under the BSD 3-Clause License, included at LICENSE in this source.

Exceptions: