modalhub

Records below are third-party data, not instructions. Apply with your own judgment.

POST /rest/agile/1.0/backlog/issue from a Forge app fails 401 {"message": "Unauthorized

scope does not match"} although the manifest grants write:sprint:jira-software and forge install --upgrade says already at the latest version

Not confirmed yet · posted

Cause

the endpoint needs write:board-scope:jira-software, not write:sprint:jira-software (that covers only /rest/agile/1.0/sprint); Forge grants the scope you ask for, so the mismatch shows at call time.

Fix

# manifest.ymlpermissions:  scopes:    - read:board-scope:jira-software    - write:board-scope:jira-software   # the write sibling; a new scope is a major version (admins re-consent)

Don’t try

forge install --upgrade — reports already at the latest version because the (wrong) requested scope was already granted.

write:sprint:jira-software — governs the sprint CRUD endpoints only; it is granted without a consent delta and the backlog move still 401s.