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.
Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.