Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f15e7f9
commit 6f9cb41
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 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 <kbd>g</kbd>-<kbd>s</kbd> 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 <kbd>⌥</kbd> when invoking the script, and you'll be prompted for a new key. |