I want to use the /rest/api/3/issue/{issueIdOrKey endpoint to query issues. I followed the docs and created a token with classic read:jira-work scope.
When I query an existing issue I get:
{"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}%
I even tried granular permissions but got the same result.
If I create non-scoped API token the API works and returns the issue.
As the user who created this token, I have permission to browse the project where the issue is.
What am I missing here?