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
Traceback (most recent call last):
File "/usr/local/bin/jira-cli", line 11, in
sys.exit(cli())
File "/usr/local/lib/python2.7/dist-packages/jiracli/interface.py", line 267, in cli
return post_args.cmd(jira, post_args).execute()
File "/usr/local/lib/python2.7/dist-packages/jiracli/processor.py", line 27, in execute
return self.eval()
File "/usr/local/lib/python2.7/dist-packages/jiracli/processor.py", line 72, in eval
comments_only=self.args.comments_only
File "/usr/local/lib/python2.7/dist-packages/jiracli/bridge/init.py", line 61, in format_issue
ret_str = ret_str.replace(k, data)
I fixed it by editing init.py line 63:
for k, v in groups:
if v.lower() in special_fields.keys():
key=issue[v.lower()]
data = "" or JiraBridge.object_from_key(key, special_fields[v.lower()])["name"]
ret_str = ret_str.replace(k, data)
else:
ret_str = ret_str.replace(k, issue.setdefault(v.lower(),""))#.encode('utf-8') <---- remove this encode
return ret_str
The text was updated successfully, but these errors were encountered:
Version is 2.1.5, I got the following exception
I fixed it by editing init.py line 63:
The text was updated successfully, but these errors were encountered: