We have an app that invokes the search API from the UI to search issues with worklogs.
- POST /rest/api/2/search
- fields: [project, worklog, key, priority,...]
- jql: "worklogDate >= 2021-04-30 AND worklogDate <2021-06-02"
- maxResults: 100
- startAt: 0
You need two accounts:
User #1 - is not owned by organization, Time zone = Europa/Warsaw
User #2 - must be owned and managed by an organization, Time zone = Europa/Warsaw, Local time is visible to people who belong to the same organization
Steps to reproduce:
- Setup Jira Cloud by User #1
- Change Jira settings - set "Default user time zone" = "(GMT-08:00) Los Angeles"
- Invite User #2 to new Jira Cloud
- Login as User #2
- Create ticket
- Log work, time spent = 1h, Date started = 01 May 2021 6:00 AM
- Search API invoked from plugin returns:

Expected result:
Author of worklog is User #2 and he used plugin so timeZone should be "Europe/Warsaw".
Actual result:
Default user time zone is used.
NOTE:
The same search request invoked from Postman returns correct results.
Do you think it's a bug?