I have a very simple python script which queries for group members:
#!/usr/bin/python3
from jira import JIRA
jira = JIRA(basic_auth=(username, token), options={"server": server})
users = jira.group_members('jira-developers')
print (users)
# ./users.py
Traceback (most recent call last):
File "./users.py", line 11, in <module>
users = jira.group_members('jira-developers')
File "/usr/local/lib/python3.6/site-packages/jira/client.py", line 1011, in group_members
result[user['key']] = {'name': user['name'],
KeyError: 'name'
Is there a newer jira module I should be pip3 installing?
Hi,
There is an open issue on Github
https://github.com/pycontribs/jira/issues/977
As a workaround please try to use the rest API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.