Voters and Watchers Custom Field

Name JIRA Voters and Watcher Custom Field
Version 1.2
Product Versions JIRA 3.11, 3.12
Author(s) Jonathan Nolen
Homepage Voters and Watchers Custom Field
Price FREE!
License BSD
JavaDocs  
IssueTracking http://developer.atlassian.com/jira/browse/VOTE
Download JAR 1.2 for JIRA 3.11, 1.1 for JIRA 3.7, 1.0 for JIRA 3.6
Download Source https://svn.atlassian.com/svn/public/contrib/jira/jira-voters-and-watchers-plugin/trunk/

Description/Features

Two custom fields that allow you to search on users who have voted or watched an issue, and a custom field that allows you to vote/unvote on a issue from the issue navigator view.
This plugin consists of three custom fields:

  • The View Voters custom field - this field allows you to view all of the users who have voted for an issue, as well as search for all issues voted for by a particular user.
  • The View Watchers custom field - this field allows you to view all of the users who have watched an issue, as well as search for all issues watched by a particular user.
  • The Vote custom field - This places a link into the issue navigator that will allow you to vote or unvote for each issue in the table via AJAX, so you don't have to visit each individual issue page.
    Note: This custom field does not respect the 'View Voters and Watchers' permission, so if you don't wish to allow your users to see the other users who have voted for or watched an issue, do not use it.

Installation

  • Install the plugin by copying the JARs to WEB-INF/lib inside your JIRA web application, remember to delete old versions of the jar files if they exist.
  • Restart JIRA.

Usage

  1. Add a new custom field for the feature you wish to use: View Voters, Viw Watchers, or Vote.
  2. Customize your Issue Navigator to show the new custom fields.
  3. Enjoy!

Version History

Version Author Notes
1.0 Jonathan Nolen Initial release
1.1 Jonathan Nolen 3.7 and 3.8 compatibility, minor fixes
1.2 Ben Speakmon 3.11 compatibility

Open Issues

Atlassian Developer Network JIRA (5 issues)
T Key Summary Reporter Status
Improvement VOTE-2 Allow filtering by Voters field to be context specific Neal Applebaum Open
Improvement VOTE-8 Change display of vote column when own issue Bob Swift Open
Bug VOTE-9 Correct the description of the "Watchers on an issue" issue type Gregory Brauer Open
Bug VOTE-10 Tooltip text for watchers refers to voters Matt Doar Open
Improvement VOTE-11 Add User Picker and Group Searcher-like functionality Gregory Brauer Open

Screenshots

Screenshots
(view as slideshow)
       
       
 
           
           
 

Labels

 
  1. Sep 29, 2006

    Neal Applebaum says:

    Hey Jonathan, is there any way the Vote custom field could also be made to show ...

    Hey Jonathan, is there any way the Vote custom field could also be made to show up in the filter criteria for custom fields? That way, we'd have a workaround to http://jira.atlassian.com/browse/JRA-5383.

    1. Oct 02, 2006

      Jonathan Nolen says:

      Hi Neal, Thanks for the testing, btw. I'll try to get to those issues soon. Re...

      Hi Neal,

      Thanks for the testing, btw. I'll try to get to those issues soon.

      Regarding your comment: that's the way it should work. You should be able to filter by "Issues voted on by Jonathan". Does that option not appear for you in the issue navigator?

      1. Oct 03, 2006

        Neal Applebaum says:

        I only added a custom field of type Vote Custom Field: "ALlows \sic\ users to vo...

        I only added a custom field of type Vote Custom Field: "ALlows [sic] users to vote or un-vote an issue". That field doesn't appear in issue navigator. After reading your comment, I added a field of type "Voters on an issue: "Displays everyone who has voted on an issue", and I see that does accomplish what I was after. So, once the Word export bug is fixed, this field could be a good workaround for JRA-5383.

  2. Sep 30, 2006

    Neal Applebaum says:

    Warning: with this plugin installed, you may lose the ability to export an issue...

    Warning: with this plug-in installed, you may lose the ability to export an issue to Word.
    http://developer.atlassian.com/jira/browse/VOTE-1

  3. Apr 05, 2007

    Tom Moore says:

    Will this be updated for Jira 3.8, and the export to Word issue fixed (if it is ...

    Will this be updated for Jira 3.8, and the export to Word issue fixed (if it is indeed real)?

    My users have been asking for a feature to be able to find out who watchers are quickly on a bunch of tickets, or what tickets a specific person is watching

  4. Jun 05, 2007

    Stephen says:

    If you are using version 1.1 of this plugin and get several {{$req.contextPath i...

    If you are using version 1.1 of this plugin and get several {{$req.contextPath is not a valid reference }}in your logs then look at JRA-11669

  5. Aug 16, 2007

    Jeff Schnitter says:

    For what it's worth, I just tested out version 1.1 of the plugin with JIRA 3.10....

    For what it's worth, I just tested out version 1.1 of the plugin with JIRA 3.10.1 and the export issue to Word functionality worked.

  6. Aug 28, 2007

    Jeff Schnitter says:

    Has anyone else had a problem with this plugin on 3.10.2?  When I install v...

    Has anyone else had a problem with this plugin on 3.10.2?  When I install version 1.1 of the plugin in a 3.10.2 install, I am unable to view any issue.  I get this error in the logs:

    2007-08-26 08:24:12,255 http-8080-Processor25 [webwork.dispatcher.ServletDispatcher] Could not execute action
    java.lang.NoSuchMethodError: com.atlassian.jira.web.action.issue.ViewIssue.<init>(Lcom/atlassian/jira/trackback/TrackbackManager;Lcom/atlassian/jira/issue/thumbnail/ThumbnailManager;Lcom/atlassian/jira/config/SubTaskManager;Lcom/atlassian/jira/issue/link/IssueLinkManager;Lcom/atlassian/jira/issue/vote/VoteManager;Lcom/atlassian/jira/issue/watchers/WatcherManager;Lcom/atlassian/plugin/PluginManager;Lcom/atlassian/jira/issue/fields/FieldManager;Lcom/atlassian/jira/issue/fields/screen/FieldScreenRendererFactory;Lcom/atlassian/jira/issue/fields/layout/field/FieldLayoutManager;Lcom/atlassian/jira/issue/RendererManager;Lcom/atlassian/jira/issue/comments/CommentManager;Lcom/atlassian/jira/security/roles/ProjectRoleManager;Lcom/atlassian/jira/bc/issue/comment/CommentService;)V
    	at com.atlassian.jira.plugin.votersAndWatchers.ViewIssueAlias.<init>(ViewIssueAlias.java:49)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:100)
    	at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:200)
    	at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48)
    	at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42)
    	at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35)
    	at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42)
    	at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:27)
    	at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:298)
    	at com.atlassian.jira.web.util.component.PicoWebworkObjectCreator.instantiate(PicoWebworkObjectCreator.java:39)
    	at webwork.util.injection.ObjectFactory.instantiate(ObjectFactory.java:47)
    

    If I remove the plugin and restart JIRA the problem no longer exists and I am able to view all issues.

    1. Oct 05, 2007

      Patrick Berry says:

      Yes, I had to disable (shutdown, restart, reindex) after upgrading to 3.11.

      Yes, I had to disable (shutdown, restart, re-index) after upgrading to 3.11.

      1. Nov 30, 2007

        Tom Miller says:

        Me too\!

        Me too!

  7. Apr 23

    Matt Doar says:

    Interesting, thw voters shows up as a choice for the Navigator columns, but not ...

    Interesting, thw voters shows up as a choice for the Navigator columns, but not the watchers with 3.12. I added the custom field, added it to the default screen and reindexed. In fhte Find Issues screen, I see the choice of searching for a user who is watching, but I wasn't seem to be able to add the column. Then I went back and reindexed after I had added the field to the default screen and it appeared.