You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)?
The text was updated successfully, but these errors were encountered:
The umlauts are not the problem... This method is IMHO "buggy":
def get_transition_id_to_status_name(self, issue_key, status_name):
for transition in self.get_issue_transitions(issue_key):
if status_name.lower() == transition["to"].lower():
return int(transition["id"])
if I list the transitions with get_issue_transitions(issue_key) I get a list with transition NAME elements BUT the get_transition_id_to_status_name method returns transition TO elements.
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:
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)?
The text was updated successfully, but these errors were encountered: