For Microsoft Powertoys Run, Open Jira tickets based on ticket number.
If query is number will use default ticket prefix.
jira 123
If query contains a prefix before number, it will use that ticket prefix.
jira TICKET-123
If query is other than numbers or ticket format, search will be suggested.
jira my search query
Installation can be performed in different, manual, ways:
Default Power Toys installation dir is %PROGRAMFILES%\PowerToys
.
Easy (for most users): Copy files to plugin folder
- Build the solution in Visual Studio.
- Copy the folder
<repo clone location>\mptr-jira\bin\Release\net6.0-windows
to your Power Toys Run plugins folder ([...]\PowerToys\modules\launcher\Plugins
). - Rename the
net6.0-windows
folder to something suitable likemptr-jira
. - Restart Power Toys.
- ???
- Profit!
Harder (for developers that intend to change code): Create symlink in your Power Toys Run plugin folder.
- Launch cmd as an administrator, and navigate to
[...]\PowerToys\modules\launcher\Plugins
. - Create symlink with:
mklink /D mptr-jira DESTINATION
, whereDESTINATION
is the binary output folder where your Visual Studio compiles this code (example:C:\git\mptr-jira\mptr-jira\bin\Release\net6.0-windows
) - Build project (the Visual Studio project is configured to kill PowerToys.exe before build, and re-launch after).
- ???
- Profit!
UrlPrefix
is the URL to your JIRA server. It must end with a slash character (/
).
DefaultTicketPrefix
is the default prexis that will be added no number queries.
{
"UrlPrefix": "https://my-jira-server.internal/",
"DefaultTicketPrefix": "TICKETNAME"
}
This project is in no way associated with Jira, Jira Software or Atlassian. If you make changes to this project, make sure you follow Atlassian terms and guidelines how to user their logo and name. Usage of Jira name and logo/icon in this Power Toys Run plugin (mptr-jira) follows guidelines described in:
- https://www.atlassian.com/legal/trademark (2022-05-19).
- https://www.atlassian.com/company/news/press-kit (2022-05-19)