After Jira upgrade to version 9.x.x some worklogs for past periods are not shown

The problem is caused by Safeguards indexing limits that were introduced in Jira 8.22.2: https://community.atlassian.com/t5/Data-Center-articles/Introducing-Safeguards-for-Jira-index/ba-p/2037880#M433.

To fix the problem set -Djira.safeguards.indexing.issue.worklogs in setenv.sh to 0 (index all worklogs) and run the full re-index. It’s recommended to add it to JVM_SUPPORT_RECOMMENDED_ARGS variable. Multi variables should be space separated.

image-20240221-081231.png

Related links:

https://confluence.atlassian.com/jirakb/what-s-changed-in-jira-after-the-implementation-of-indexing-limits-1131089687.html

https://confluence.atlassian.com/jirakb/introducing-safeguards-to-jira-index-1131089657.html