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

How to mark JIRA attachments by using JIRA Python API

I want to mark attachments that have already been downloaded to differentiate them with the one attached later on. Is it possible to set something like metadata of the attached files? Or any other ways? PS: I should use JIRA python API
Xiaobo Zhang
  • 21
  • 1
  • 1
  • 3
0
votes
2 answers

Get workflow transitions in Jira Python

How to get all the status/transition in Jira API ? http://example.com/rest/api/2/workflow/ returns [{"name":"jira","description":"The default JIRA workflow.","steps":5,"default":true}] No id is present in the output, so not able to get workflow…
Pradnya Mhatre
  • 208
  • 2
  • 8
0
votes
0 answers

Iterate jira.search_issue list

I'm trying to iterate and parse jira key from the list I am receiving by invoking jira.search_issue. http://jira-python.readthedocs.org/en/latest/_modules/jira/client.html#JIRA.search_issues found_issue = jira.search_issues('key=%s and cf[13560] ~…
mobu
  • 547
  • 3
  • 6
  • 11
0
votes
2 answers

How to update labels for the issues present in Jql query/Filter

My requirement is: I want to update the labels for the issues present in the filter. import jira.client from jira.client import jira options = {'server': 'https://URL.com"} jira = JIRA(options, basic_auth=('username], 'password')) …
0
votes
1 answer

How to get the filter results in rest api

I'm new to python and Jira rest api. I need to know how to export the results to excel(in the same format how we get it manually). import jira.client from jira.client import JIRA options = {'server': 'https"//atlassian.com'} jira = JIRA(options,…
user3089474
  • 65
  • 3
  • 8
0
votes
3 answers

Python - How to count number of occurrences

I'm using the jira-python library to query data from jira. I'm getting back the data I need from jira but processing the data has been giving me issues. I'm looking to count the occurrences of all components returned from my query. For example, my…
Jason
  • 195
  • 1
  • 3
  • 15
0
votes
2 answers

Problems using jira-python for accessing JIRA issues

I have used the following sample python code to try and connect to the JIRA instance for our project. options = { 'server': 'http://172.16.48.15:8080' } jira = JIRA(options=options, basic_auth=('', '')) (I haven't attached the…
Mangesh H
  • 1
  • 1
0
votes
1 answer

Jira python objects, have issues with creating a usable pivot table

Good morning, first thank you for reading my question. When I am trying to create a pivot table using the Jira plugin, it appears that my columns are not being grouped together to allow pivot to aggregate the results. Here is the code: import…
Chris
  • 569
  • 2
  • 8
  • 15
0
votes
1 answer

unable to create a new issue through jira python rest api

from jira.client import JIRA from jira.exceptions import JIRAError from jira.resources import Attachment, Comment, import time import types from sets import Set import xlrd import…
Karthi
  • 1
  • 3
0
votes
1 answer

Fetching an jira issue using python i'm getting authentication error

>>> # Get all projects viewable by anonymous users. ... projects = jira.projects() Traceback (most recent call last): File "", line 2, in File "C:\Python27\lib\site-packages\jira_python-0.16-py2.7.egg\jira\client.py", line 941,…
Karthi
  • 1
  • 3
0
votes
1 answer

Get all members of Jira _not_ in a particular group

My overarching task is to get all members of Jira except those in a particular group, but I think I need some intermediary help before I can get there. I'm using jira-python, and I've gotten so far as to sort of get the group I need: print…
thumbtackthief
  • 6,093
  • 10
  • 41
  • 87
0
votes
1 answer

Unable to attach screenshots to JIRA issue using JIRA Python library

Unable to attach screenshot to a issue using Jira-Python library on Windows 7 machine. I am using the 'rb' option for opening the ".PNG" file but still getting UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 208: character…
-1
votes
1 answer

Triggering Java & Selenium automation in Attlasian (TEST AIO)

I am searching and i don't know how could i execute a JAVA automation using the Attlasian tool called AIO TEST: I have a program .java and it runs just fine but i would like to trigger this java program by calling it directly from AIO TEST. Is…
JustToKnow
  • 785
  • 6
  • 23
-1
votes
1 answer

Automating Jira Cloud backup

Is there a way to automate backups for my Jira Cloud site on a daily basis including pulling all the data and attachments?
ACal
  • 3
  • 2
-1
votes
2 answers

fetch the issues from jira only when it has particular customfield using python

I am doing automation on Jira, now I want fetch the data from tickets, but the tickets must have the customfield_10030, otherwise the tickets should not be selected. Below is the code, I am using, please help me out from atlassian import…
Beginner
  • 143
  • 1
  • 12
1 2 3
19
20