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 6462a71807
convert Linear puller to TypeScript
2022-09-09 17:12:13 -05:00
Linear.omnifocusjs convert Linear puller to TypeScript 2022-09-09 17:12:13 -05:00
Session.omnifocusjs change the newly-unnecessary header to a warning instead 2022-09-09 15:51:37 -05:00
types convert Linear puller to TypeScript 2022-09-09 17:12:13 -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
Finish and Follow Up.omnijs add notes when following up 2022-08-31 08:46:09 -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: