python-jira

Using Python to automate creation of JIRA tickets

Using Python to automate creation of JIRA tickets Question: I have been trying to write a python script to automatically raise Jira tickets, and have been running into some trouble. To be more specific, I tried to use both the issue_create and create_issue methods as outlined in the atlassian-python API reference. In the code provided …

Total answers: 1

Jira -Python Error

Jira -Python Error Question: I was trying to run this jira script and its been a couple of hours can’t quite figure out what the issue is. can someone help me. I get the following error. Traceback (most recent call last): File “mytest.py”, line 2, in from jira.client import JIRA ImportError: No module named ‘jira’ …

Total answers: 5

How to update JIRA issue reporter from Python

How to update JIRA issue reporter from Python Question: I’m trying to update the reporter of an issue using the JIRA Python API (version 1.0.3). I am signed in (using basic auth) as a user who has full permissions, and I am trying to do it for an issue which I myself have created. The …

Total answers: 1

How to access the next page using JIRA -REST-API for python

How to access the next page using JIRA -REST-API for python Question: I am trying to fetch all issues related to a project. When I execute the below code, I get only 50 results. I need to navigate all pages and get all the bugs.Please help all_issues = jira.search_issues(‘project=ProjectName’) each_issue = sorted([issue.key for issue in …

Total answers: 3

Get fields from a specific Jira issue

Get fields from a specific Jira issue Question: I’m trying to get all the fields and values from a specific issue my code: authenticated_jira = JIRA(options={‘server’: self.jira_server}, basic_auth=(self.jira_username, self.jira_password)) issue = authenticated_jira.issue(self.id) print issue.fields() Instead of returning the list of fields it returns: <jira.resources.PropertyHolder object at 0x108431390> Asked By: Kobi K || Source Answers: Found …

Total answers: 5