|
|
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.095.user.js. See Greasemonkey instructions here.
Usage
Version History
| Version | Author | Notes | Release Date |
|---|---|---|---|
| 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 | ?? |
| 0.95 | Dominik Kapusta | Updated to work with JIRA 3.13 | 27.03.2009 |
| 0.96 | Scott Drake | Updated to work with Opera | 16.10.2009 |


Comments (29)
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.
Dec 29, 2005
Jonathan Nolen says:
Which version of JIRA are you using?Which version of JIRA are you using?
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.
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.
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.
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
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.
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.
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?
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.
Mar 20, 2006
Andrey Polyakov says:
Very usfull plugin, thanks!Very usfull plugin, thanks!
Jun 01, 2006
JitSiong Koh says:
Does this work with version 3.6.1 ?Does this work with version 3.6.1 ?
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
Jul 12, 2007
Martin Gilday says:
Are there any known issues with the plugin on JIRA 3.10? The start/stop progres...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.
Mar 04, 2008
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.
Mar 05, 2008
Kevin says:
Digging a little further, I have found that it does have some effect. The ...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.
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
May 13, 2008
Ralph Perez says:
I really like the script, do you know if this works with Jira 3.11? ThanksI really like the script, do you know if this works with Jira 3.11?
Thanks
Dec 11, 2008
dinesh says:
Do you all know if this script works for 3.13? Thanks DineshDo you all know if this script works for 3.13?
Thanks
Dinesh
Dec 11, 2008
dinesh says:
Do you all know if this script works for 3.13? Thanks DineshDo you all know if this script works for 3.13?
Thanks
Dinesh
Feb 06, 2009
Juan Alonso says:
It's not working for me neither (3.13). I have created this script to speed up w...It's not working for me neither (3.13). I have created this script to speed up worklog creation in case someone is interested:
http://slnc.me/script-for-frustrated-time-conscious-mylyn-jira-users/
Mar 20, 2009
Daniel Jones says:
Is this project still active? I have added some release date columns into the wi...Is this project still active? I have added some release date columns into the wiki page above because it is hard to know if this plugin is still being worked on or if it is very old? We have a vanilla version of 3.13 and it doesn't work with that?
Mar 27, 2009
Dominik Kapusta says:
I've updated this script to work for my team with JIRA 3.13. Now it has additio...I've updated this script to work for my team with JIRA 3.13.
Now it has additional features:
If you have Greasemonkey installed, just click this link to download script. And of course tell the script where your JIRA installation is.
Write me if you need any help / modifications.
May 28, 2009
Lars-Michael Hahn says:
Hi, I have problems with the script using Professional Edition, Version: 3.9.2-...Hi,
I have problems with the script using Professional Edition, Version: 3.9.2-#235.
When I press Stop Progress it opens */Jira/secure/CreateWorklog.jspa and that results in an error:
Please help, I like your script so much.
Lars
May 29, 2009
Dominik Kapusta says:
Hi, this script has been prepared for version "Enterprise Edition, Version: 3.1...Hi,
this script has been prepared for version "Enterprise Edition, Version: 3.13.2-#335" and was not tested on any other.
Maybe try to instal the script in its 0.93 version.
If the problem persists, try to modify my version of script and replace "CreateWorklog" with the path that is taken from 'action' property of the form where you log your time. For example in my version of Jira it looks like this:<form action="CreateWorklog.jspa" method="post" ...
so in the script it is:
<form action="../secure/CreateWorklog.jspa" method="post" ...
I hope I described it well and that it'll help you.
Dominik
Aug 21
pavel says:
hi, it's dont work in opera if you can - fix it for opera may be it helps http...hi, it's dont work in opera
if you can - fix it for opera
may be it helps http://www.opera.com/browser/tutorials/userjs/examples/#greasemonkey
Oct 16
Scott Drake says:
I've updated the script to work in Opera, download version 0.96. Tested in Oper...I've updated the script to work in Opera, download version 0.96.
Tested in Opera 10.00 and Firefox 3.5.3 with Jira Enterprise Edition, Version: 3.13.5-#360.
You may see a slight delay after clicking Stop Progress while it waits for the Ajax calls to finish. I also increased the height of the textarea.
Nov 02
pavel says:
I answer you by e-mail, copypaste here, may be not only me need help in this que...I answer you by e-mail, copypaste here, may be not only me need help in this question
i save js file, in opera js settings show path to folder that contain script (like in this topic http://my.opera.com/Contrid/blog/2007/02/11/how-to-greasemonkey-in-opera), bu it's not working(((
what i do wrong??
Opera 10.01
Nov 23
Scott Drake says:
You'll need to edit the JavaScript file to indicate the address of your Jira ins...You'll need to edit the JavaScript file to indicate the address of your Jira installation. I think Firefox may do this for you when you install the Greasemonkey script, but with Opera look for this line of the script:
// @include http://jira/*
Change that to your Jira path, Opera emulates Greasemonkey's behavior and will activate the script only for pages with matching URLs.