JIRA Greasemonkey Worklog Helper

Name JIRA Greasemonkey Worklog Helper
Version 0.94
Product Versions JIRA 3.2+
Author(s) Leonard Lin
Homepage JIRA Greasemonkey Worklog Helper
Price free!
License GPL
Download Script jira.worklog.094.user.js

Description

A Greasemonkey script that will add time tracking fields to the stop progress and close issue links, to make filling out time reports easier and more natural.

You can watch a screencast here: http://randomfoo.net/junk/200509/jira/jira.html.

Installation

Use Greasemonkey to install this file: jira.worklog.094.user.js. See Greasemonkey instructions here.

Usage

Version History

Version Author Notes
0.92 Leonard Lin Initial Version
0.93 Jonathan Nolen Updated to work with JIRA 3.4.2
0.94 Andrey Polyakov Updated to work with JIRA 3.2

Screenshots

(view as slideshow)
     
     
 

Issue tracking

Labels

 
  1. Dec 29, 2005

    Aggelos T. Paraskevopoulos says:

    Cannot really make it work. The form is not modified as described here. I believ...

    Cannot really make it work. The form is not modified as described here. I believe that I have installed and setup the script to work for my jira instance url, but I don't see anything happening. Any hints?

    Cheers,
    A.

    1. Dec 29, 2005

      Jonathan Nolen says:

      Which version of JIRA are you using?

      Which version of JIRA are you using?

  2. Dec 29, 2005

    Jonathan Nolen says:

    I've updated the script to work with JIRA 3.4.2. Hopefully that will solve your ...

    I've updated the script to work with JIRA 3.4.2. Hopefully that will solve your problem.

    1. Dec 29, 2005

      Aggelos T. Paraskevopoulos says:

      Well, almost perfect. The script probably needs further modifications in order t...

      Well, almost perfect. The script probably needs further modifications in order to work with the Resolve/Close Issue form. I might try to correct this as an exercise. We are using 3.4.1.

      Cheers,
      A.

      1. Dec 29, 2005

        Jonathan Nolen says:

        My bad: same problem, two places. Fixed the second occurence and uploading a new...

        My bad: same problem, two places. Fixed the second occurence and uploading a new version.

  3. Dec 29, 2005

    Jeff Turner says:

    Installs nicely for me with Firefox 1.5 and greasemonkey, and I see the extra fo...

    Installs nicely for me with Firefox 1.5 and greasemonkey, and I see the extra forms, but a) there's no way to submit the form on 'Start Progress' (enter doesn't work), b) on the Resolve Issue page, the form replaces the 'Assign to' drop-down, and when the page is submitted, JIRA complains that 'Issues must be assigned'.

    Oh well, it's still cool in concept

    1. Dec 30, 2005

      Jonathan Nolen says:

      Did some more debugging. Looks like there is a bug in the current verion of Grea...

      Did some more debugging. Looks like there is a bug in the current verion of Greasemonkey (see here: http://www.google.com/search?q=+%22image+is+not+a+constructor%22) that prevents the script from creating the dummy image which makes the LogWork GET request. One could probably come up with a workaround using ajax-like techniques, but that seems a lot of trouble. I'll look into this more next week.

      1. Jan 03, 2006

        Jonathan Nolen says:

        OK, I've worked around this problem. It's not pretty, but it seems to work. New ...

        OK, I've worked around this problem. It's not pretty, but it seems to work. New version of 0.93 attached.

        FYI, the script must introduce a 1 sec delay when stopping progress or resolving the issue in order to give the LogWork request time to complete. Just so you know.

        1. Jan 03, 2006

          Leonard Lin says:

          Hey Jonathan, thanks for making updates.  I've been pretty busy so I haven'...

          Hey Jonathan, thanks for making updates.  I've been pretty busy so I haven't really been looking after this thing.  I'd like to try to keep this from forking if possible (although hopefully this functionality might get rolled into the JIRA trunk, obviating the need for a separate script?

          I'm still on 3.3, so I abstracted some of the node selection stuff w/ a version detector: http://greasemonkey.randomfoo.net/jira/jira.worklog.user.js

          Did this merge all your changes or did I miss something?

          1. Jan 04, 2006

            Jonathan Nolen says:

            All my changes were in the 0.93 version attached to the page. If you like, I cou...

            All my changes were in the 0.93 version attached to the page. If you like, I could create a subversion directory for the script so we could use that to collaborate.

            I agree we should try hard not to fork.

  4. Mar 20, 2006

    Andrey Polyakov says:

    Very usfull plugin, thanks!

    Very usfull plugin, thanks!

  5. Jun 01, 2006

    JitSiong Koh says:

    Does this work with version 3.6.1 ?

    Does this work with version 3.6.1 ?

  6. Mar 05, 2007

    Nick Jones says:

    Hi, I'm on JIRA 3.6.2 #156, and installed this script. Unfortunately the script ...

    Hi,
    I'm on JIRA 3.6.2 #156, and installed this script. Unfortunately the script seems to replace the Assign To field on the Close issue screen. Does the js replace target a position to replace or an element id to insert after?I can't use the script while it replaces fields with its own fields. This seems to be the same problem that Jeff Turner was having some time ago.

    Hmm, wondering if this thread is still active even..

    Cheers
    Nick

  7. Jul 12, 2007

    Martin Gilday says:

    Are there any known issues with the plugin on JIRA 3.10? The start/stop progress...

    Are there any known issues with the plugin on JIRA 3.10? The start/stop progress comments do not seem to be creating any entries in the worklog.

    1. Mar 04

      Kevin says:

      I am curious about this as well. We are using JIRA version {{Version: 3.10.2#262...

      I am curious about this as well. We are using JIRA version Version: 3.10.2-#262. I have installed Greasemonkey and added the script as well as the URLs it should work on. At this point it does not appear to have any effect.

      1. Mar 05

        Kevin says:

        Digging a little further, I have found that it does have some effect....

        Digging a little further, I have found that it does have some effect.  The widget to account for hours only seems to show up when I move into custom workflow steps that have Resolve as an option and the time estimate is available around the Resolve option. If I enter time it still is not saved in the work log.

  8. Sep 20, 2007

    Dan Woodward says:

    We would love to implement the worklog in workflow feature, however our userbase...

    We would love to implement the worklog in workflow feature, however our userbase strictly uses Internet Explorer. Is there some way we can run the script on IE, or perhaps convert the script into a conventional JIRA plugin?

    Thanks, 

    Dan

  9. May 13

    Ralph Perez says:

    I really like the script, do you know if this works with Jira 3.11?\\ Thanks\\

    I really like the script, do you know if this works with Jira 3.11?

    Thanks