https://sentry.io/organizations/mozilla/issues/3681961097/?referrer=slack
This could be due:
- insufficient permissions
- Jira workflow that prevents the status to be set to Done without "transition"
Instead of just:
get_client().update_issue_field(
key=issue_key,
fields={"resolution": jira_resolution},
)
we may have to do things like:
get_client().transition_issue(issue_key, transition='Close', resolution={'name':'Cannot Reproduce'})
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post
Source: https://stackoverflow.com/questions/64457432/how-i-can-change-or-clear-value-for-resolution-field-in-jira-using-python