PSJira is a Windows PowerShell module to interact with Atlassian JIRA via a REST API, while maintaining a consistent PowerShell look and feel.
This module has a hard dependency on PowerShell 3.0. I have no plans to release a version compatible with PowerShell 2, as I rely heavily on several cmdlets and features added in version 3.0.
Also note that this module doesn't officially support Jira Software (7.0.0 or greater), since I don't have an instance of this available for testing and troubleshooting.
In PowerShell 5, it's very simple to download the latest public release of this module:
Install-Module PSJira
If you're using PowerShell 3 or 4, you can download this module from the Download Zip button on the right. You'll need to extract the PSJira folder to your $PSModulePath. Normally, this is at C:\Users<username>Documents\WindowsPowerShell\Modules.
You can also always feel free to clone the module directly in Git.
Before using PSJira, you'll need to define your JIRA server URL. You will only need to do this once:
Set-JiraConfigServer "https://jira.example.com"
Check out the Getting Started page on the project wiki for detailed use information.
- Support for multiple config files and/or alternate config file locations
- Possible support for OAuth in addition to HTTP Basic authentication
Want to contribute to PSJira? Great! I'm accepting pull requests against the dev branch.
Here are a couple of notes regarding contributions:
- PSJira relies heavily upon Pester testing to make sure that changes don't break each other. Please respect the tests when coding against PSJira.
- Pull requests are much more likely to be accepted if all tests pass.
- If you write a change that causes a test to fail, please explain why the change is appropriate. Tests are code, just like the module itself, so it's very possbile that they need to be fixed as well. Bonus points if you also write the fix for the test.
- If implementing a brand-new function or behavior, please write a test for it.
- Please respect the formatting style of the rest of the module code as well. If in doubt, place braces on a new line.
Changes will be merged to master and released when the module passes all Pester tests, including the module style tests.
Feel free to comment on this project here on GitHub using the issues or discussion pages. You can also check out my blog or catch me on the PowerShell subreddit.
Note: As with all community PowerShell modules and code, you use PSJira at your own risk. I am not responsible if your JIRA instance causes a fire in your datacenter (literal or otherwise).