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.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register todayOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.