Poll Plugin for JIRA released
Sunday, May 13th, 2007Atlassian’s Codegeist II competition is up tomorrow. What with being ill and being at JavaOne (much in the way of blogging from JavaOne notes to do over the next few days) the end of the competition did not so much sneak up on me as ambush me out of the blue. I had the barely started prototype of a new portlet sitting on my laptop and after earning some computer time by looking after Nathan through the day I was able to sit down and pip in under the wire.
The plugin, if you didn’t read the title, is a poll portlet for the front page of JIRA. It lets you setup a way for people to vote on an issue from a group of issues, and see the comparative results. Users can either have 1 vote to share amongst each issue, or they can apply 1 vote to each issue. The easiest way to use it, is to create an issue whose summary is the question, add subtasks whose summaries are the answers and then configure the portlet with just the first issue’s key.
I used the JIRA Servlet plugin for the first time on this; however after bashing my head against how to get at things in the environment for two hours and getting it working; I then realized I needed more and so it’s sitting there as a memento of the hours of pain at the moment, unused. Basically, getting a VoteManager statically is a pain in the arse.
I’m pretty happy with it. It’s been a solid evening’s work, and it is exactly what I was envisioning when I thought of the idea a month ago.
