Hi! Trying to add new users by python script from txt file, which looks like:
"jack black, email@gmail.com
alex white, 123@yahoo.com"
Script looks like:
"with open('users.txt') as file:
for line in file.readlines():
name, email, work = line.split(",")
print(name, email)
#jira.add_user(name,email)"
But it doesnot work as intended. Only 1 user can be added, after that exception message with error 500. And user in Jira looks like
"email email
email@gmail.com"
Whay i should do to make all users be added without this problems?
Hi!
Please, wrap using try except to work with exception
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.