Skip to content

JIRA: Problem with transitions #1479

Description

@MAngel666

I've a script, it shows me all transition id's for a ticket.
This script shows these transitions for a ticket:

ID: 11, Name: In Bearbeitung
ID: 21, Name: On Hold
ID: 31, Name: Schliessung
ID: 141, Name: Frist verlängern
ID: 101, Name: False Positive

If I use this code with the same Ticket:

jira = Jira(url = '[https://%s](https://%25s/)' % config['credentials']['atlassian_host'], username = config['credentials']['atlassian_user'], password = config['credentials']['atlassian_pass'])

fields = {
                "duedate": list_issues[issue],
}

jira.set_issue_status(issue, "Frist verlängern ", fields)

I get this error: "requests.exceptions.HTTPError: 'transition'-ID muss eine Ganzzahl sein" (translated: 'transition' ID must be an integer)
What can be the problem? If I use the method: jira.set_issue_status_by_transition_id(issue, 141) it does work but I cant set the field parameter and I need it there.

Could it be a problem with the umlauts in transition name (german "special" character like äüö etc)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions