Timesheet gadget is non-editable JIRA 7.3.1

Issue #1098 resolved
Bhavi Yadav created an issue

We are in the process of upgrading JIRA to v7.3.1 and have installed v3.0.7.7 of the Timesheet Reports and Gadgets plugin. Unfortunately the gadget is non-editable when added to a dashboard. Not sure what we have missed here. On JIRA 6.4.12 we have v2.8.3.3 of the Timesheet gadget plugin and that works absolutely fine.

I have attached screen shots of both how the gadget looks when added to the dashboard and also the details of the installed plugins.

Your assistance on this matter is highly appreciated.

Kind regards, Bhavi

Comments (13)

  1. Andriy Zhdanov

    Hi Ghavi,

    Is it newly added gadget? Do you have permission to modify gadgets on dashboard? I don't see any drop-down menu in the top-right corner on your screenshot.

    Thank you.

  2. Bhavi Yadav Account Deactivated reporter

    Hi Andriy,

    Thank you for your response. Since my comment a few days ago, we have tested the gadgets again and we can now see the edit option under the drop down. The problem is that it takes 3 to 4 minutes to load the gadget to be able to add filters/data. This is an issue for us as our users cannot wait for so long. Can you please advise if we can do anything to speed up the process from our end. Also, i noticed that 'Months' is misspelled as 'monts' on the gadget ![Spelling error.PNG]. Kindly rectify.(https://bitbucket.org/repo/8Xedz7/images/3444062681-Spelling%20error.PNG)

    Thanks a lot. Kind regards, Bhavi

  3. Andriy Zhdanov

    Hi Bhavi,

    Low performance may be caused by big number of filters. If so, in version 3.0.8, it's now possible to configure Filter parameter to show only Favorite Filters, see Administration - Add-ons - Timesheet Configuration - Use Favorite Filters option.

    Thank you.

  4. Hernan Montes Gil Account Deactivated

    Hello there, we are seeing probably the same issue, once we add the gadgets (both pivot and timesheet) they are just blank, sometimes they will show the editing options, but no upper small icons appear. Plugin version - 2.9.8.4 - tested version 3 on a test environment and worked fine - JIRA is 6.3.13 Capture.PNG

  5. Bhavi Yadav Account Deactivated reporter

    Hi, We have now installed v.3.0.8.3 and its working fine for us now :)

  6. Andriy Zhdanov

    Hi Hernan,

    It's performance problem, might be caused by big number of Filters, please try turning on Show Favorite Filters option in Administration - Add-ons - Timesheet Configuration.

    Thank you.

  7. Hernan Montes Gil Account Deactivated

    Hello Andriy,

    We went ahead and turned on the option, now we see the missing options and the gadget is not blank, but this only happens for certain users, there are some users that still see this issue, do you have any other suggestion, I would really appreciate it.

    Thank you.

  8. Andriy Zhdanov

    Hi Hernan,

    Could you please check, whether users having this problem do have too many filters, or they just need to reconfigure gadget?

    Thank you.

  9. Hernan Montes Gil Account Deactivated

    Andriy,

    One of the users tested have's 61 favorites and 45 owned, that's not a whole bunch, this user still has the blank gadget.

  10. Hernan Montes Gil Account Deactivated

    new message in console from this user -

    com.metainf.jira.plugin.emailissue:emailissue-web-resource6.js:2 5.6.7-jira-1
    batch.js:2423 Your are trying to create a ToggleBlock with selector '.twixi'.One already exists with this trigger so has been ignored.
    init @ batch.js:2423
    batch.js:2423 Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored.
    init @ batch.js:2423
    batch.js:2423 Your are trying to create a ToggleBlock with selector '.toggle-trigger'.One already exists with this trigger so has been ignored.
    init @ batch.js:2423
    batch.js:1864 JEMH adhoc script loading editor components
    com.metainf.jira.plugin.emailissue:emailissue-web-resource6.js:2 JEDITOR found
    com.metainf.jira.plugin.emailissue:emailissue-web-resource6.js:2 JETI javascript loaded
    batch.js:321 DEPRECATED: please remove all uses of AJS.warnAboutFirebug
    batch.js:166 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
    send @ batch.js:166
    jira-timesheet-plugin:timesheetGadgetResources.js:2 Uncaught TypeError: Cannot read property 'html' of null
        at Object.Time.getTemplate (jira-timesheet-plugin:timesheetGadgetResources.js:2)
        at template (com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:22)
        at Object.build (com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:4)
        at com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:4
        at Object.reqOptions.success (com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:4)
        at Object.success (com.atlassian.gadgets.publisher:ajax.js:16)
        at Object.AG.ajax.handleCallbacks (com.atlassian.gadgets.publisher:ajax.js:4)
        at Object.params.error (com.atlassian.gadgets.publisher:ajax.js:14)
        at j (com.atlassian.plugins.jquery:jquery.js:28)
        at Object.fireWith [as rejectWith] (com.atlassian.plugins.jquery:jquery.js:30)
    Time.getTemplate @ jira-timesheet-plugin:timesheetGadgetResources.js:2
    template @ com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:22
    build @ com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:4
    (anonymous) @ com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:4
    reqOptions.success @ com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:4
    success @ com.atlassian.gadgets.publisher:ajax.js:16
    AG.ajax.handleCallbacks @ com.atlassian.gadgets.publisher:ajax.js:4
    params.error @ com.atlassian.gadgets.publisher:ajax.js:14
    j @ com.atlassian.plugins.jquery:jquery.js:28
    fireWith @ com.atlassian.plugins.jquery:jquery.js:30
    c @ com.atlassian.plugins.jquery:jquery.js:154
    abort @ com.atlassian.plugins.jquery:jquery.js:156
    (anonymous) @ com.atlassian.plugins.jquery:jquery.js:159
    
  11. Andriy Zhdanov

    Hi Hernan,

    Looks like response from JIRA server is interrupted, may be because of timeout, so JavaScript fails.

    May be you could check JIRA log also, if there is any error.

    Finally, may be the user could try to reduce number of favorite filters to see if it helps.

    Thank you.

  12. Log in to comment