Querying Jira with Python and Rest
jira, python, rest
Solution
If somebody still need a solution, you can install JIRA rest api lib https://pypi.python.org/pypi/jira/. Just a simple example for your question:
from jira.client import JIRA
jira_server = "http://yourjiraserver.com"
jira_user = "login"
jira_password = "pass"
jira_server = {'server': jira_server}
jira = JIRA(options=jira_server, basic_auth=(jira_user, jira_password))
group = jira.group_members("jira-users")
for users in group:
print users
Problem
I want to pull a list of users in the jira-users group. as i understand it, it can be done with Python using restkit. Does anyone have any examples or links that give an example of this? thanks.