Skip to content

Commit

Permalink
Restore issue transitions by fixing some flubs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Tilles committed Apr 15, 2015
1 parent 18ad3ce commit 2725823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jira/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -929,10 +929,10 @@ def find_transitionid_by_name(self, issue, transition_name):
:param issue: ID or key of the issue to get the transitions from
:param trans_name: iname of transition we are looking for
"""
transitions_json = this.transitions(issue)
transitions_json = self.transitions(issue)
id = None

for transition in transtitions_json["transtions"]:
for transition in transitions_json:
if transition["name"].lower() == transition_name.lower():
id = transition["id"]
break
Expand Down

0 comments on commit 2725823

Please sign in to comment.