Time Sheet report shows incorrect week

Issue #799 resolved
Katarzyna Zjawin created an issue

We have generated below report time sheet report.png

We have noticed that hours were incorrectly sumed up by weeks. It turned out that the plugin sum up a log from 9th Feb 2016 to week 7 not week 6. log in ticket.png

Normally JIRA correctly recognizes that 9th Feb is in a 6th week jira calendar.png

Could you please helpu us with this issue? Unfortunately this is a blocker to us.

Comments (15)

  1. Andriy Zhdanov

    Hi Katarzyna,

    Could you please check, what is the week range for Week 7 moving mouse over it in the report?

    Please check also issue#741, it may be the same.

    Thank you.

  2. Katarzyna Zjawin reporter

    Hi,

    We cannot set the locale in jira, because we have users worldwide. Doy you maybe have some other soultion?

    Best regards,

  3. Andriy Zhdanov

    Well, after some investigation, it looks like a bug indeed, so it may be enough to use JIRA user locale for formatting week numbers.

    Have you set Language in Profile to something different than JIRA system language?

    Otherwise, it may relate to JRA-10088.

    Have you enabled Use ISO8601 standard in Date Picker option in Look and Feel settings?

    So that first week of the year is the earliest week that contains at least four days of January, thus 9th of January falls into 6th week, instead of 7th week in default calendar.

  4. Katarzyna Zjawin reporter

    Have you set Language in Profile to something different than JIRA system language? No, I have default settings in the Profile

    Have you enabled Use ISO8601 standard in Date Picker option in Look and Feel settings? Yes, we have already change this option. Now date picker in jira shows that Monday is a first day of week. However this change had no impact on the report.

  5. Andriy Zhdanov

    Hi Katarzyna,

    Could you please clarify, if you had this Use ISO8601 standard in Date Picker option enabled initially, or you've enabled it just now?

    I'm asking because, it's not clear for me how Date Picker shows Monday as first day of week and 6th week for 9th of February, in your case.

    Once I'm sure about this, I can add necessary changes to add-on I think.

    Thank you.

  6. Katarzyna Zjawin reporter

    issue is not resolved. like a said: we cannot set user locale due to the fact that we have users world wide

  7. Andriy Zhdanov

    Hi Katarzyna,

    Version 2.9.5.1 is released with the fix.

    Please try if it helps. It uses Use IS) 8601 setting for default first day of week, and week numbering.

    Note, this is for JIRA 5 - 6. Please let me know if you need fix for JIRA 7.

    Thank you.

  8. Katarzyna Zjawin reporter

    Hi, it worked. Thank you very much!

    AFAIK our company will upgrade jira to version 7 someday, so the same fix will be needed.

    Cheers, Katarzyna

  9. Log in to comment