Hi All - I'm trying to run the script that was provided here: https://support.atlassian.com/jira/kb/bulk-add-users-to-groups-using-python-and-api/
But I keep getting this error: "KeyError: 'userid' at line 30
I've checked my csv and the column name is correct (image attached).
I've made sure the python script and the csv file are in the same folder.
Any idea what I'm doing wrong?
In case anyone comes across this error, the issue was the csv file saved as a UTF-8 BOM file. Changing it to UTF-8 made it run smoothly.
Thanks for adding the solution to your own question!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!
Help us plant more trees
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.