Questions tagged [python-jira]

Actually called jira-python, this is a python library created to use with REST APIs provided by JIRA.

JIRA provides a number of REST APIs to capture or push information to JIRA. These APIs, being REST, can be used with many programming languages. JIRA-Python library makes it easier to use these APIs using Python applications.

The library was created by Ben Speakmon and can be downloaded from bitbucket.

296 questions
0
votes
1 answer

Script to check unassigned tickets in jira?(java, python or another)

I want to check unassigned tickets in jira using java,python or any other script.
0
votes
2 answers

JIRA python for JIRA REST API: how to return keys of all child issues for a single parent issue given the parent's key?

I have seen multiple answers for how to return the key of the parent of a given issue, but is it possible to return the keys of all children of a parent issue? Ideally, I'd like to return the keys for all children but not all 'grandchildren,' etc. I…
enginerd
  • 1
  • 1
  • 3
0
votes
1 answer

How to fix certificate issues with python3 accessing JIRA-REST API?

On a Redhat box (Red Hat Enterprise Linux Workstation release 6.8 (Santiago)) I am able to make a curl request to the JIRA instance like follows: curl -k -D- -u "user":"password" -X GET -H "Content-Type: application/json"…
Alex
  • 41,580
  • 88
  • 260
  • 469
0
votes
1 answer

AttributeError : object has no attribute

I got a program from a formerly colleague and now should maintain it. This python script asks our Jira instance with a given jql ( on the API ). The return is a list of all issues, which are matching the search criteria. But now it's not working,…
Twiebie
  • 412
  • 1
  • 7
  • 16
0
votes
1 answer

JIRA Python API Report : Sprint Burndown Information

I am trying to get the Sprint Information for a Burndown chart from JIRA via its REST API using the python lib found here: jira python documentation It seems I cannot get the chart itself back via the API so, I’d like to get all information to draw…
LUIGI
  • 61
  • 3
  • 10
0
votes
1 answer

Python Jira API Screen error for source and region fields

I am trying to create Jira issue using Python-Jira API but getting screen error for source and region fields.Please help me to resolve the same. Error: Exception Value: JiraError HTTP 400 text: Field 'source' cannot be set. It is not on the…
0
votes
1 answer

Python-Jira create issue giving Screen error

I am using Jira library with Python to create Jira-issue but getting below error: jira.exceptions.JIRAError: JiraError HTTP 400 text: Field 'Component/s' cannot be set. It is not on the appropriate screen, or unknown. url:…
0
votes
0 answers

How to identify which type of authentication is supported in jira

I am running below command curl.exe -D- -X GET -H "Authorization: Basic c3VzaW5naDpZZ3ZxYXozMjEj" -H "Content-Type: application/json" "https://product-ira.ciena.com/rest/api/2/issue/QA-31" Server output curl.exe -D- -X GET -H "Authorization: Basic…
0
votes
1 answer

create new project with Jira and python

Using Python 2.7, and jira-python package (version 1.0.4) I tried this code: from jira.client import JIRA user = 'admin' password = 'xxx' server = 'https://xxx.atlassian.net' jira = JIRA(basic_auth=(user, password), options={'server': server})…
user1256378
  • 712
  • 2
  • 12
  • 31
0
votes
1 answer

JIRA Python Fails Sending Zip Files

I have a python script set up to send attachments to our JIRA server. I've noticed that it seems to fail on all zip files. Has anyone experienced this before? Below is the error that it always returns. Any other files that it encounters send…
w3bguy
  • 2,215
  • 1
  • 19
  • 34
0
votes
4 answers

JIRA API components name is not valid

I am currently attempting to create an issue within JIRA via API and have been running across an issue that I have no clue to fix. I used a curl command to find the components and I got the…
Kosi
  • 1
  • 1
  • 1
0
votes
1 answer

Python-Jira installation without Admin rights

I am writing a python tool that should get information from Jira. I wanted to use Python-Jira but cannot install it properly. I am using (have to use) python 2.7 which doesn't come with pip and I cannot install pip because I do not have local admin…
0
votes
1 answer

Createmeta using jirapython

Trying to know all the mandatory fields for an issue type Testcase in JIRA using the below statement defined params as list with items projectIds, IssueType = Testcase, IssueType Id = "jira._get_json('issue/createmeta', params)". But i am not able…
Venkat
  • 41
  • 1
  • 4
0
votes
2 answers

JIRA Python add_attachment() 405 Method Not Allowed

I am trying to upload a file to JIRA via its REST API using the python lib found here: jira python documentation It seems pretty straight forward I wrote a method that allows me to pass an issue and then it attaches a filename. and one that lets me…
Richard Christensen
  • 2,046
  • 17
  • 28
0
votes
2 answers

Destroy session using jira-python REST client

I am trying to invalidate the session using jira-python rest client. How can I achieve this feature, is it built in or needs to be implemented? I tried looking at all the APIs available in client.py and there seems to be no way to destroy or…
Nick
  • 31
  • 11