Skip to content

resolution: Field 'resolution' cannot be set. It is not on the appropriate screen, or unknown. #294

@leplatrem

Description

@leplatrem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions