[TIME-307] Timesheet Gadget Date Range

Issue #307 resolved
Andriy Zhdanov created an issue

On the detail view of this gadget there is an option to change several search criteria. Choosing another date and afterwards clicking on next to perform the updates has a bug as the date fields are transmitted via URL but the gadget ignores that and shows the default value instead.

Steps to reproduce (note: sometimes the bug appears and sometimes not - this requires more investigation):
1. Click Details in the Time Sheet gadget to display it in new screen;
2. Click Change to modify report settings;
3. Change report dates, user and/or Priority and click Next;
4. In the new report view, the original dates are still displayed, although the URL displays the modified times.

By dwierzbicka/Dora Wierzbicka on Wed, 21 Nov 2012 03:50:45 -0800

Comments (6)

  1. Andriy Zhdanov reporter

    Andriy, if you need more detail on this, let me know - I can provide you with a recording of the behaviour on a customer's OnDemand instance.

    By dwierzbicka on Wed, 21 Nov 2012 07:17:01 -0800

  2. Andriy Zhdanov reporter

    Hi Dora,

    Unfortunately I can't reproduce it. Of course instant update of search criteria would be great to add, but it could be easier to fix the problem you get first.

    Is it possible that your JIRA server and you have different timezones, and problem reproduces in some particular hours, like before noon or in the evening only? Though I have tried this too with no luck.

    Also can be browser cache issue? Could you try to force page refresh (e.g. Ctrl+Shirt+R in some browsers) or clear cache, etc?

    Thank you.

    By azhdanov on Thu, 22 Nov 2012 03:11:16 -0800

  3. Andriy Zhdanov reporter

    I tried to reproduce the issue several times today, the same behaviour as before.

    System:
    Win 7 64bit, Chrome Version 23.0.1271.91 m

    Before starting test i deleted all browser cache, cookies etc.

    The last URL (isn´t recorded unfortunately) is
    https://xxx.atlassian.net/secure/ConfigureReport.jspa?startDate=01.Nov+2012&endDate=30.Nov+2012&targetUser=afust&targetGroup=&priority=&projectid=&filterid=12106&projectRoleId=&weekends=true&sumSubTasks=true&groupByField=&moreFields=&selectedProjectId=10000&reportKey=jira-timesheet-plugin%3Areport&Next=Next

    In my opinion the URL is correct but the system shows only the last week (which is a kind of default value i assume).

    In case you need any further informations please let me know!

    By hhunfeld on Thu, 29 Nov 2012 04:26:33 -0800

  4. Andriy Zhdanov reporter

    Ah, guess that date can not be parsed!

    You might have changed date picker format ( https://confluence.atlassian.com/display/JIRA/Changing+the+Due+Date+Input+Format) so you need to adjust Look And Feel date format ( https://confluence.atlassian.com/display/JIRA/Customising+the+Look+and+Feel).

    Probably plugin could be improved not to require this, but for now it's necessary to make those formats match each other.

    Example for your case:

    Date Picker Format: %e.%d %Y
    Look And Feel Date Format: dd.MMM yyyy

    Please let me know if it helps.

    By azhdanov on Thu, 29 Nov 2012 14:17:15 -0800

  5. Andriy Zhdanov reporter

    Hi,

    Did it solve the problem?

    Thank you.

    By azhdanov on Mon, 3 Dec 2012 11:35:35 -0800

  6. Log in to comment