Raycast Productboard scripts
Dependencies
-
jq
- library for working with jsonbrew install jq
Setting up API token
- In your home directory create (or just update)
secrets.sh
file- or copy the example
cp -i ./secrets.sh.example ~/secrets.sh
(if file already exists it shows prompt to prevent accidental file override)
- or copy the example
- Open Notes API for Insights
- and under Get started you can see how to get the public API token
- Write the token into
secrets.sh
export PRODUCTBOARD_TOKEN="the token"
TODO: find more native/convinient way or wait once the Raycast will support it out of box
Scripts
Create note
Arguments:
title
- title of the notecontent
- the content of the note. Can be formatted with TODOcustomer_email
[optional] - email of who reported this note
On successfull reqest
The browser with the Note detail page will open
On error request
The error will be printed to the raycast window