You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
constjql=`worklogAuthor in (${listForQuery}) and worklogDate >= '${mfromDate.clone().add(-1,'days').format("YYYY-MM-DD")}' and worklogDate < '${mtoDate.clone().add(1,'days').format("YYYY-MM-DD")}'`;
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
I have ensured not to paste any confidential information like Jira url, Mail id, etc.
I have verified my browser console logs and added necessary details (if required)
I have added required screenshots if the bug is related to UI (as necessary)
The text was updated successfully, but these errors were encountered:
srtucker
changed the title
Worklog Calendar fails to load from
Worklog Calendar fails to load from Jira Cloud
Dec 20, 2023
Checklist before you being
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.jira-assistant/src/services/worklog-service.js
Line 36 in a9864b3
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
The text was updated successfully, but these errors were encountered: