Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to use jira rest api with jira-python?

Deleted user August 15, 2016

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'

 

2 answers

1 accepted

1 vote
Answer accepted
Jeff
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2016

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.

0 votes
Deleted user August 16, 2016

Jeff, 

Thank you! Your response is much appreciated

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

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 today
AUG Leaders

Atlassian Community Events