Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Matteo Mazzarolo
Matteo Mazzarolo

Posted on • Originally published atmmazzarolo.com

     

Searching Jira tickets with Alfred

I can't stand Jira slowness.

To me, the worst part of it is using Jira cloud's sluggish UI when I'm looking for a specific ticket.

That's why yesterday I created an Alfred workflow to search for Jira tickets.

Multiple issues result
Single issue result

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

You can download ithere.

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 your 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).

Adomain variable

Part of the Jira URL.

E.g.helloworld, forhttps://helloworld.atlassian.net.

Aheader 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....

I'm using the workflow on macOS.

It also needjq to be installed.

You can find the workflow source codehere.

Top comments(1)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
javaguirre profile image
Javier Aguirre
I design software, focused on project management and process optimization. love 🎸, avid reader.
  • Location
    Cordoba, Spain
  • Education
    Computer Science
  • Joined

Thank you for releasing it! I’ll try it tomorrow 😀

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

🍉
  • Location
    Italy
  • Joined

More fromMatteo Mazzarolo

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp