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
votes
1 answer

Python error 'NoneType' object has no attribute 'post' jira

So I'm working with jira using their module, trying to execute issue transitions and sometimes I get this error. It happens when there are more than 2 issues in a queue (and works fine when there is one in queue) My code is: def task2(self): …
-1
votes
3 answers

Python-jira unable to update issue status

i am trying to update jira status with jira-python. My code doesn't throw any error but nothing is gets updated ,the status of the issues remains same(I'm beginner trying to learn python) project = jira.projects('project=') for project in projects: …
att
  • 41
  • 2
  • 8
-1
votes
1 answer

How to assign id to a created issue with jira python?

I am using jira python to create issues through their REST api, but in the "fields" dictionary for the "project" key's dictionary, I am running into an issue when I try using "id" or "name" as keys, but it works with the "key" key. So, this…
-1
votes
1 answer

Python-jira sign up using google

Is that possible to use python-jira using google account to sign in? Maybe any workaround for that cause people in our company don't have jira accounts they use google
-2
votes
2 answers

Automatically update Jira ticket / create new Jira ticket based on Excel file - using python script

I would like to update/create everything in Excel file, but want to update/create Jira tickets automatically, using Python. 1.) Use the information from excel file and create tickets automatically in JIRA. 2.) Update an existing Jira ticket…
Jacint
  • 1
  • 1
-2
votes
1 answer

API to fetch last login date jira cloud

Is there any JIRA REST API which can give information about last login time of all users for jira cloud platform? If yes, then please provide me the details of the request URL.
-2
votes
1 answer

How to truncate text in this format?

I'm trying to extract from this list [, , ] the 3 strings: HDDIS-42214 HDDIS-42171 HDDIS-42170 How can do…
Orion
  • 9
  • 4
-2
votes
1 answer

I am using JIRA Python API to create Issue

I am using following code to create an issue : from jira import JIRA import pandas as pd user = 'XXXXXXXXXXXXXXX@gmail.com' apikey = 'XXXXXXXXXXXXXXXXXXXXXXX' server = 'https://XXXXXXX.atlassian.net' options = {'server': server} jira =…
Dheeraj Singh
  • 109
  • 1
  • 16
-2
votes
1 answer

I am getting error when set duedate creating issue in jira

This is my post function. I am working on jython scripting suite. from java.util import Calendar from java.util import Date import com.atlassian.jira.component.ComponentAccessor from com.atlassian.jira import ComponentManager from…
-3
votes
0 answers

How to get a list of all acceptable values for a custom field in Jira using Python

I have a custom field in Jira called 'Country'. It has a list of acceptable values that it can contain. How do I retrieve there values using the Python Jira module? For example for custom field 'Country' it should output a list like: USA, Canada,…
cttrader
  • 25
  • 3
-3
votes
1 answer

Jira Python: Syntax error appears when trying to print

from jira.client import jira options = {'server': 'https://URL.com'} jira = JIRA(options, basic_auth=('username', 'password')) issues = jira.search_issues('jqlquery') for issue in issues: print issue I want to print the output of the jql…
1 2 3
19
20