Skip to content

Commit

Permalink
Merge pull request #57 from MerelyAPseudonym/master
Browse files Browse the repository at this point in the history
Restore issue transitions by fixing some flubs.
  • Loading branch information
ssbarnea committed Apr 28, 2015
2 parents dad3509 + 85f391b commit 84e7c4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion jira/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# 1) we don't load dependencies by storing it in __init__.py
# 2) we can import it in setup.py for the same reason
# 3) we can import it into the jira module
__version__ = '0.47'
__version__ = '0.48'

0 comments on commit 84e7c4c

Please sign in to comment.