/alfred-jira-search

An Alfred workflow to search for Jira tickets

Primary LanguageShell

alfred-jira-search

An Alfred workflow to search for Jira tickets

The workflow is triggered by the jira keyword, followed up by the search query.

Under the hood the workflow uses the /rest/api/3/issue/picker endpoint to return a list of issues matching the Alfred query.
It's smart enough to return a list of issues if you're query is a word, or a specific issue if your query is a ticket number.

The workflow setup still has a huge margin for improvement: I haven't built an authentication flow, so it requires some manual setup (that I abstracted into two workflow environment variables).

A domain variable Part of the Jira URL.
E.g. https://${domain}.atlassian.net).

A header variable HTTP header used in the API requests.
You should add here your authentication token (JWT or cookie).
Personally, using the cookie session token is enough for me for now.
E.g.: cookie:cloud.session.token=eyJraWQiOiJj....

It also need jq to be installed.