You should include your code in your post, not as a link. You should also post the error message including the entire traceback. You should also provide some example input and any output
You've been looking at this for 4 hours. What have you tried to better understand the reason for the error?
If you want to loop over the strings in Q1, why not do this?
for word in Q1.rsplit():
if word in issues:
print("We have identified the problem")
break
else # Didn't find word in issues
humandata = input("We could not find an automated solution for you, please type as much infomation about the issue and we will let a technician sort it out")
cases += 1
new_issues.write(str(cases))
new_issues.write(humandata)