chrisboyke / jira_search_replace

Search & Replace via Rest API for JIRA
8 stars 7 forks source link

TypeError: unsupported operand type(s) for +: 'int' and 'str' #3

Open learning2016 opened 3 years ago

learning2016 commented 3 years ago

Hello I have encountered an error. Can you tell me how to fix it? Looking forward to your reply

Traceback (most recent call last): File "jira_search_replace.py", line 87, in main() File "jira_search_replace.py", line 15, in main issues=get_issues(config) File "jira_search_replace.py", line 27, in get_issues data=util.do_post(config['instance'],'search',post_data) File "/scripts/jira_search_replace/util.py", line 60, in do_post return handle_status(url,data,r) File "/scripts/jira_search_replace/util.py", line 85, in handle_status log_error(url,r.status_code,r.reason,r.text,json.dumps(data,indent=2)) File "/scripts/jira_search_replace/util.py", line 14, in log_error f.write(arg+'\n') TypeError: unsupported operand type(s) for +: 'int' and 'str'

SiriusGale commented 3 years ago

You should remove slash from end of url

[instance]
url=https://jira.domen.xx