Hello,
I am trying to get all users from the group jira-users from a hosted jira account.
This is a solution that i tried figuring ou t and which i also found within the community and on the when i googled my problem.
from jira import JIRA
from jira.exceptions import JIRAError
import datetime
import requests
from requests.auth import HTTPBasicAuth
import json
def All_Jira_Users():
users = jira.group_members("jira-users")
print(users)
When executing this, here is what i'm getting
Traceback (most recent call last):
File "d:/JIRA_KPI/venv/jiraKpi.py", line 178, in <module>
All_Jira_Users()
File "d:/JIRA_KPI/venv/jiraKpi.py", line 168, in All_Jira_Users
users = jira.group_members("jira-users").items
File "D:\JIRA_KPI\venv\lib\site-packages\jira\client.py", line 1011, in group_members
result[user['key']] = {'name': user['name'],
KeyError: 'name'
Thanks for your help