Wednesday, January 26, 2011
java: Jira Plug-in for Confluence
This is a plug-in for Confluence wiki to pull Jira defects to generate product release notes. We are using Jira to track defects, features and documentation on products.
This plug-in uses Jira's Issue Navigator xml link to pull defects pertaining to a particular release. Once the defects are retrieved, the xml is parsed through a home grown XSLT template to group issues, transform links and format output. The resulting html is processed through ScrollWiki plug-in to convert to a pdf file that can be included in the product release.
We are using a generic user credentials to fetch records from Jira. This user has read permission on all projects and the password is stored in a secured password keeper.
The hard part was setting up the environment. Even though the documentation is clear on how to setup the project, it took a good amount of time to setup the project and dependencies for the confluence version that we are running.
If you are using NetBeans to develop the plug-in, you need to manually edit the build file to include the plug-in xml file to jar. I started with IntelliJIDEA template to develop and build plug-ins and later switched to NetBeans.
download code
-paul