Jira Assistant Issues

View #31 on GitHub to know more details

#31 - Daywise worklog dates are always one day in arrears

relkcaminc commented on Jun 02, 2018

I started using the jira-assistant on Monday, 7 May 2018. I logged time all week and that time shows up in my calendar gadgets and tickewise worklog just fine. However, the daywise worklog dates are wrong.

It doesn't matter if I select an existing filter or use a custom date filter, even for just a single day, the "Logged Date" is always in arrears of the actual date.

daywiseworklog_datesincorrect

In this example, the time was logged on 7 May thru the 11 May (last week), but it is showing up as 6 May - 10 May.

calendarviewvsdaywiseworklog_datesinccorect

In this example, I logged 15 minutes for today, 15 May, for a meeting. Side-by-side on the dashboard, you can see I selected 15 May in the Daywise worklog gadget. However, the logged work is showing as for 14 May.

I've confirmed that the uploaded time on the actual JIRA issue is correct.

I've also tried different date formats on the jira-assistant configuration and it doesn't make a different which format I select, it is always a day in arrears on the Daywise worklog.

shridhar-tl commented on May 24, 2018

Hi @relkcaminc ,

Thank you for reporting me about this issue. I was not able to reproduce this issue but will look into it this weekend and will try to resolve it ASAP. Can you please provide me answers for following questions as well which will help me fixing this issue?

  1. Is this happening in Chrome or in Firefox?
  2. What is your local timezone in your system?
  3. What is the timezone in Jira server?

I can look into the issue even without having the above information. But if I have it my analysis may speed up. Thank you.

relkcaminc commented on May 25, 2018

  1. This is in Firefox.
  2. My local timezone is US/Mountain. My JIRA profile is set to US/Mountain.
  3. I don't know, I'd would assume US/Mountain as all our servers use that.

All other widgets show the correct time, so it seems it is just the Daywise worklog that has the issue.

shridhar-tl commented on May 30, 2018

Hi @relkcaminc, If you are using chrome version of plugin then this should have been resolved in v0.50. If you are using Firefox version then still latest version is not yet published. Will publish it this week.

relkcaminc commented on May 31, 2018

Looking forward to having it resolved. Thanks for your quit attention to the issue!

shridhar-tl commented on May 31, 2018

@relkcaminc , Firefox version was published yesterday and so you should see this issue resolved now. If you still face this issue please let me know. Basically this is something related to time zones.

Note for any one else who read this post: It is always better to set your time zone in Jira appropriately. Because Jira will log / display your worklog based on your settings in Jira and this JiraAssist tool will take your local timezone. Most of the time issue arises when their are difference between these two. Also User Dawise worklog report has option to set different timezone for each user or group of users which enables to change the timezone accordingly.

shridhar-tl commented on Jun 02, 2018

Assuming this issue is resolved and closing this issue. If you are still facing any issue you can reopen this ticket.