As part of my work I spend a lot of time in Jira. Now that I’m using Alfred as part of my daily routine, I’ve created an Alfred workflow to help me.
Keywords
jira <ticket ID>
This keyword transforms the <ticket ID> into the Jira URL and populates the clipboard with this value.
e.g.
jira sf-8088
populates the clipboard with
https://mycompany.atlassian.net/browser/sf-8088
jira <ticket ID> go
By adding “go” to the end of your keyword, instead of populating the clipboard, this opens the URL in your default browser.
e.g.
jira sf-8088 go
opens the URL in your web browser
https://mycompany.atlassian.net/browser/sf-8088
jiramywork
This keyword opens the “your work” link for your Jira instance.
e.g.
jiramy
opens the URL in your web browser
https://mycompany.atlassian.net/jira/your-work
Setup
Download and Install
Download and install the salcode Jira Alfred workflow.
Workflow Environment Variables
jiraSubdomainThe subdomain specific to your company in your Jira URL. e.g.mycompanyin https://mycompany.atlassian.net/jira/your-work
Neat tips. I usually can’t remember the Jira ticket# so here are 2 more:
– with the ticket# as the selected text, use hotkey to open in default browser
– Jira search from Alfred search bar
https://github.com/cliffordp/alfred-app-workflows/tree/master/Modern%20Tribe
Handy setup, though I’d probably lean on the “go” variant almost exclusively — copying to clipboard just adds a paste step when nine times out of ten I want the ticket open in front of me anyway. The jiramywork shortcut is the sleeper hit here.
Appending “go” to flip between clipboard and browser is a nice touch — one keyword doing double duty. I do the same mental switch constantly, so having Alfred handle whether I want the link copied or opened saves a real step.