jira-assistant icon indicating copy to clipboard operation
jira-assistant copied to clipboard

Worklog Calendar fails to load from Jira Cloud

Open srtucker opened this issue 6 months ago • 1 comments

Checklist before you being

  • [X] I am sure that I am already using latest version of Jira Assistant
  • [X] I had verified that, no similar issues are already reported in issue tracker
  • [X] I had tried reproducing this issue with with Web version of Jira Assistant to ensure that this issue is not recently fixed and yet to be published
  • [X] I had verified that, my query is not answered in FAQ section of website
  • [X] I had verified that, my issue is not listed as known bugs in website

How do you use Jira Assistant?

Browser extension

Are you using cloud version of Jira or self hosted (data center / server) of Jira.

Cloud Jira

Version of Jira Assistant

v2.56 & WEB

What browser are you using?

Chrome

What OS are you using? You need not disclose this if you feel it is irr-relevant for your issue.

None

Bug Description

After migrating to Jira Cloud I have been having issues with the Worklog Calendar failing to fetch the worklogs. The API request returns a 500 error a little after 30 seconds. I have reproduced this on both the current version of the Chrome Extension as well as the web version.

I have been working with Atlassian cloud support for about a month and they said it is because the query is timing out. They did say that they add some additional indexing to the tables to make it work better but it still fails much more that it works.

I have found in testing that adding ORDER BY updatedDate DESC to the JQL makes the query return in under 200ms.

I pulled down the git repo and added ORDER BY updatedDate DESC to the following line and it is working wonderfully for me. https://github.com/shridhar-tl/jira-assistant/blob/a9864b3e4abbffaba161beb19929cc7ba0454e43/src/services/worklog-service.js#L36

Would it be possible to make this change or add an additional advanced setting to add additional JQL to the query that the calendar feature uses?

Checklist before you submit

  • [X] I have ensured not to paste any confidential information like Jira url, Mail id, etc.
  • [X] I have verified my browser console logs and added necessary details (if required)
  • [X] I have added required screenshots if the bug is related to UI (as necessary)

srtucker avatar Dec 20 '23 20:12 srtucker