HI,
Having stumbled on jira-python, how can I use jira-python to perform the following JIRA rest api?
# GET http://<Your_JIRA _Server>/rest/api/2/issue/<Issue_Key>
GET 'http://dev:8080/rest/api/2/issue/mgrapp-1106'
Yes that is extremely possible:
from jira import JIRA jira = JIRA(basic_auth=(un, pwd), options={'server': server}) issue = jira.issue(issuekey, fields='summary,comment,attachment')
That will retrieve the same information (although you will want to customise the fields that come back I expect.
Jeff,
Thank you! Your response is much appreciated
It looks like you're new here. Sign in or register to get started.