I'm using the REST API to pull back a list of issues across projects and inspect the worklogs, i.e. /rest/api/2/search?jql=...&fields=worklog
I've discovered that some issues will not include worklog even though the time tracking is enabled and the issue has worklog entries. When using the GET issue endpoint i.e. /rest/api/2/issue/181669 is also missing the worklog property for some issues and it's working for others. However, if I use i.e. /rest/api/2/issue/181669/worklog it will return the worklog for all issues.
I've narrowed it down to a specific project and I've checked all of the obvious things. I've even gone so far as to compare the project configuration with other projects that work as expected. I feel it should be configuration related but I can't find the problem.
Has anyone seen this problem before and know the solution to reveal the worklog property for any project?