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
1
vote
2 answers

How can I call a method from a name string in Python?

I am using an API to call specific information from a website. I need to be able to parse through the list to utilize the functions. Example: list = ['doThis','doThat'] for item in list: sampleobject.item The issue is when I use this, I get an…
1
vote
1 answer

Unable to edit custom_field(Jira-Python)

Unable to update fields for an issue in Jira-python. When I look at the raw data in JSON. It is under: {fields:{'customfield_10000':'some text'} but when I…
Keith Zhen
  • 45
  • 1
  • 1
  • 10
1
vote
0 answers

py2exe :RuntimeError: maximum recursion depth exceeded

I am facing a problem while generating an exe file. Python 3.4.3, py2exe (0.9.2.2) The following site packages are used in my script: jira (1.0.10), pythonnet (2.3.0), tkinter from distutils.core import setup import py2exe import os import…
1
vote
1 answer

How to query specific information for an issue?

I'm trying to use JIRA python api to receive the list of tickets that have been raised in the last 30 days but whenever i run Issue = main.jira.issue("PLAT-38592") i = main.jira.issue(issue, "Summary") print(i) All that gets returned…
Merhlim
  • 35
  • 7
1
vote
3 answers

Access JIRA from python

I am trying to access jira from python at my work place and the basic operation I intend to do is to fetch/create/update jira issues. I looked at the template code online and am trying to use that, but no luck. I have already installed jira api…
Singo
  • 83
  • 2
  • 6
1
vote
1 answer

Open new ticket in JIRA using REST api

I'd like to understand how to create a new ticket in JIRA using REST API from Jenkins. Is there any limitations or special things I should be aware of? I'm going to write a Python script, which will parse the build log and then create a new ticket…
1
vote
2 answers

How to download JIRA attachment files with Python

I want to download attachment files of an issue in JIRA Python.
1
vote
1 answer

Check if filter exists

I am using jira-python with Python 2.7 and Jira Server to set up components and filters. I want to add new filters when needed and update existing ones when applicable. From the non-progress of this request; JRASERVER-36045, I am not optimistic…
Fredrik
  • 598
  • 1
  • 5
  • 22
1
vote
1 answer

JIRA not connecting to Server python [python2.7]

I am trying to use the rest API functionalities in JIRA which is proviced by its python module. Here is the code : from jira import JIRA options = { 'server': 'https://jira.internal.server', 'verify': 'false' } jira = JIRA(options,…
Rebbeca
  • 71
  • 8
1
vote
1 answer

Jira API updates with Jira-Python with no notification

Didn't find a Duplicate Issue for this and the notifiyUsers = False parameter was added in September 2016. Docs: https://jira.atlassian.com/browse/JRA-34423 http://jira.readthedocs.io/en/master/examples.html I need to add labels to about 1700…
gnfrazier
  • 51
  • 7
1
vote
1 answer

JIRA API Send Email

I'm currently using the python JIRA to create issues. I want to be able to send an email to specific email addresses after the issue is created. Here is the solution I tried but it doesn't to work. jira =…
dredbound
  • 1,579
  • 3
  • 17
  • 27
1
vote
2 answers

How to retrieve the creation date of a Jira issuelink in Python?

I'm using the jira-python module and was not able to figure out how to retrieve the creation date of a Jira issue link (inwardIssue, outwardIssue) I looked at https://jira.readthedocs.io/en/master/api.html but could not seem to find what i'm…
Andrew
  • 147
  • 1
  • 2
  • 8
1
vote
1 answer

Get release date for project version with jira-python

I am using jira-python to generate some status reports. My issues are associated with Versions and I want to order them according to the release dates of the versions. These dates can be set in Jira under version administration, but it seems…
Fredrik
  • 598
  • 1
  • 5
  • 22
1
vote
1 answer

How to create a custom field in python jira

I'd like to store some extra information in a custom field. So I create a dictionary for my issue: issue_dict = { 'project': 'PROJECT-TITLE', 'summary': 'issue title', 'description': 'issue…
fold4wrap5
  • 175
  • 2
  • 12
1
vote
1 answer

Checking if epic issue exists and if not, make a new epic issue

So the problem is an IndexError, which makes sense considering there isn't supposed to be any results for that jql query. epic_search = 'project = "EXM" and type = Epic and summary ~ "summaryx" ' esearch = jira.search_issues(epic_search) if…
DaVinci
  • 97
  • 1
  • 1
  • 9