Jira Assistant Issues

View #222 on GitHub to know more details

#222 - Add a timer or stopwatch to track working on a ticket and log hours

shridhar-tl commented on May 21, 2023

I get few requests on adding a timer / stopwatch for worklog creation. This has been already part of Jira Assistant until early 2017, but was later removed as part of major rewrite. This is due to the fact that it's not being used by anyone based on Google Analytics data.

If any of you feel this would be a useful feature, please +1 or leave your comments on how this can be implemented.

I need suggestions from users on how to track this. I could think of some of the use cases where I think tracking worklog would be difficult from a browser extensions perspective:

  • User starting the timer on one issue and working on multiple tickets simultaneously
  • User having the timer running, but in between, they attends few meetings which should not actually be captured as part of this story
  • Timer running for more than one day. There is no way a browser extension can identify when user logs in and sign off from his work.

Please provide some suggestions on what could be useful and based on that I will try and prioritize this work.

casper-81 commented on Aug 04, 2022

Used a similar time tracking tool a few years ago:

  • User can choose only one issue to start tracking. Can be a right click on a issue -> Start Tracking.
  • A popup/header info could be shown to the user, kind of "Tracking time for issue ABC-12345".
  • This popup can have 2 buttons/links: Pause Tracking and Stop Tracking.


  • If Pause is selected, user can anwser a phone call or whatever, and then he can have 2 buttons/links: Resume Tracking or Stop Tracking.
  • If Resume is selected, show goes on.
  • If Stop is selected, then a worklog is added to the Pending Upload List. User can change or adjust total time tracked by editing the worked log.
  • To prevent all-night-long recording, there can be a auto stop protection. Lets say if user (browser activity) is inactive for 15 minutes, Time Tracking is stopped automatically and a worklog is added to the Pending Upload list. Time for inactivity could also be configurated somewhere in Settings -> General.

Cheers m8 :)

shridhar-tl commented on Aug 15, 2022

Hi, I am working on this feature and here is the screenshot of the initial implementation. Initial working version would be available in Web version by this week end.



Additionally added timer functionality from with-in Jira as well and all these features are controllable through various settings from JA General settings page -> Time tracker tab.

While viewing issue (Jira data center version) image

While viewing issue (Jira cloud version) image

Jira board image

Any suggestions on design or functionality is welcome.

shridhar-tl commented on Aug 15, 2022

Hi @casper-81 - This feature is now available in Web version and would be published to extensions soon. As of now you can test it in Web version by accessing https://app.jiraassistant.com.

As of now, Web version supports starting a timer on a particular Jira Ticket, pause and stop it when needed. Once stopped worklog entry would get created automatically and would be displayed in pending uploads gadget and in worklog calendar for you to upload. Additional settings provided to automatically pause + resume the timer when system is locked or turns idle. This feature is not supported in Web unless extension v2.41 or above is installed. That way, only once the extension is updated you would be able to use this configuration.

casper-81 commented on Aug 17, 2022

Hi shridhar-tl


Time tracking is working fine. Done some small tests and everything is working great :)

Under the issue itselft its ok: image

Just can't see the Play/pause/stop buttons under the board. Not sure if i'm missing some configuration on the board..


This is the config:


And... ⭐️⭐️⭐️⭐️⭐️ image

Cheers m8 :)

shridhar-tl commented on Aug 18, 2022

Hi @casper-81 , thank you for the confirmation. In board you need not do anything specifically. It should automatically work. You can just try to increase the delay attaching config up to 4 seconds in the configuration and see if that fixes the issue. If not I would like to know what is the version of Jira you are using. So that I will have to check with that version of Jira and see if the structure of board is different and will have to make appropriate changes.

Stay tuned. More features coming your way !!

casper-81 commented on Aug 19, 2022

Hi @shridhar-tl ,

Its kinda weird. Default value is 2 sec.

If I type 4 and press enter or click somewhere, its doesn't fix the value and change it back to 2: image

If I type 04 or 10 sec, it assumes the value but still can't see play/stop buttons under the jira board. image

I'm currently using:

  • Firefox 103.0.2 (64-bit)
  • Jira v8.20.7

Done a browser cache cleanup but didn't help.

Edit: After changed value to 10, it took 10 seconds to see the play button under the issue, so this is working good: image

Cheers !

novosirj commented on Sep 16, 2022

I really appreciate this enhancement so much; I didn't think to ask for it, but it's really annoying to be figuring all the time (huh, I started working on this at 3:24, how long has it been since 3:24, etc.).

One question though: so I track this time, I hit stop when I'm done, and the work log goes into the pending uploads. Where do I upload that to edit the worklog to say what I did, etc. before it's uploaded? I can go in and edit it after the fact, but I'm guessing that's not the best/intended way.

casper-81 commented on Sep 16, 2022

Hi @shridhar-tl ,

Well, maybe you can bring the Add worklog dialog after the Stop button: image

So, it will be:

  • Start tracking
  • Stop tracking
  • Bring the dialog. User can add worklog comment or adjust Actual time spent. Log time will be the start of the tracking (Hit Start button), Ticket is the selected ticket of the recording.
  • Save button will have actual behaviour (save it to pending upload or directly to Jira).

Cheers m8 :)

BasGrtjns commented on Oct 25, 2022

img I tried clearing browser cache and setting the attach time to 5 seconds and even up to 20s just to be sure. However i still only get the time tracker on 1 board.

I can start the timer from the jira assistant browser interface however

i am currently using: chrome: 106.0.5249.119 jira is a cloud based version and i think version is: " data-version="1001.0.0-SNAPSHOT"

shridhar-tl commented on Nov 01, 2022

Hi @novosirj, My initial thoughts/assumption was once you start working on a task or any time later, you can provide the comments on what you are working on by clicking on the Edit icon in the timer. This option is currently not available from within Jira. But I am still thinking about it and trying to figure out a way to have it within Jira as well.


@BasGrtjns - I have came across such issues from various organizations and reason for this is version of Jira and different styles / customizations done by admins. That is causing JA to not identify appropriate cards in some cases. Once again I am trying various options to achieve consistency. Will keep you posted if there are any progress on this.

@casper-81, Your suggestion to bring edit dialog would be implemented based on configuration. However it would take some more time for these implementations as currently I am more focused on developing automation suit to aid me in regression testing at the time of each release as doing manual regression testing is taking most of my time for every release.

konnton commented on Nov 16, 2022

What I would like to see is for the timer to kick in as soon as a ticket goes to selected set of statuses, is assigned to someone, and only track the time during working hours.

Equbuxu commented on Jan 18, 2023

Big thanks to whoever fixed the issue with the timer functionality not getting attached to the page in the latest update. It finally works well now, and before that I had to restart the extension like 10 times per day to get the timer to appear.

I have a feature request, for the popup saying "timer is already running for ... do you want to stop it and start a new timer". It would be great if the popup also had a text field for a worklog comment (you can use the prompt() function). I tend to forget to open the app right away to write down the things I've done, and I by the time I notice in the evening I usually half-forget what I was doing, so having it in jira would be great.

shridhar-tl commented on Jan 19, 2023

@Equbuxu - Your suggestion about capturing comment is taken and will try to accommodate in upcoming release.

About your previous issue, there were no fixes in any recent versions of JA for timer. Infact it is untouched since the time it is published. So something would have changed in your end so that the issue has been resolved now. However, happy to hear, the issue you were facing is resolved.

Equbuxu commented on Jan 19, 2023

Interesting, I thought I saw a couple of commits related to the timer, guess that was something different. Changes on my end are totally possible, now I should hope that it doesn't break again lol

shridhar-tl commented on May 21, 2023

Closing this ticket assuming this issue is resolved. Please feel free to reopen if there are still some issues yet to be addressed.