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

Unable to connect to cloud JIRA

I'm trying to connect to cloud JIRA with basic authentication REST API using python language. If I'm passing the username and password directly to JIRA method like this: jira = JIRA(base_url, basic_auth=('user@domain.com','password')) then the…
Ashish Sharma
  • 131
  • 1
  • 5
  • 19
0
votes
3 answers

How can i use multithreading (or multiproccessing?) for faster data upload?

I have a list of issues (jira issues): listOfKeys = [id1,id2,id3,id4,id5...id30000] I want to get worklogs of this issues, for this I used jira-python library and this code: listOfWorklogs=pd.DataFrame() (I used pandas (pd)…
0
votes
0 answers

from: can't read /var/mail/jira on osx

I have looked at other similar questions but as a python newbie I am rather stumped. I have installed Anaconda 3 and have installed successfully a number of libraries. I recently installed the jira library (with no problems) but in the Jupyter…
0
votes
1 answer

How to transition to a status not listed on transitions?

I am attempting to transition an issue from one status to another. When I call jira.statuses() I get a list of statuses that include the one I would like to transition to: When I ping…
John Snow
  • 1,898
  • 2
  • 27
  • 48
0
votes
1 answer

Getting error while adding watcher to JIRA ticket using JIRA python API

I'm trying to add watchers after creating the issue using python but while adding into after creating issue getting below error, Can anyone help? TypeError: unbound method add_watcher() must be called with JIRA instance as first argument (got…
DKM
  • 1,761
  • 2
  • 19
  • 34
0
votes
0 answers

Jira Create Issue using python

I'm trying to create a Jira Issue with python, but while calling the new issue method getting below error, seems i'm missing something or not trying the right way, the fields of report frequency, report request type & due date is mandatory fields.…
DKM
  • 1,761
  • 2
  • 19
  • 34
0
votes
2 answers

How to mark Jira TCs execution status fail or pass using jira-python API?

I am using jira-python module and getting TCs list from jira. Now After execution I want to mark TCs execution status as fail or pass.How can I achieve this? my code: jserver = {'server':server} j =…
user3518405
  • 45
  • 2
  • 10
0
votes
1 answer

How can i set release to "Released" in JIRA

I have a Board named ASDF, In that board under Relaeses tab I have a Version named: QWER. This version has 3 issues. I want to change the status of the version to "Released" if all the issues are in "done" state. I don't know how to change the…
gowtham
  • 27
  • 7
0
votes
1 answer

setting up django server for receiving callbacks from jira and other apis

how can I start receiving and parsing callback api's responds in further with Django server? I wanna setup my DRF server to start working with JIRA webhooks, but also it might be useful for other apis such as telegram and etc. In this case I need…
Chickenfresh
  • 365
  • 5
  • 15
0
votes
1 answer

Redshift - Issue inserting text column to Database table

I am trying to update data from JIRA to Redshift DB using python. I am having issues updating value from 'description' column. The target column in DB is of type varchar. Given below is how I modify the 'description' column before inserting it into…
Kevin Nash
  • 1,511
  • 3
  • 18
  • 37
0
votes
1 answer

JIRA API - Python: Listen to jira.search_issues and execute when it changes

I need to listen to the return " jira.search_issues (jql_str = "status = 'WAITING FOR SUPPORT'")) " and when the same switch executes an os.system (). I was not willing to use WHILE to avoid generating too many connections.
0
votes
1 answer

Get tag and sprint value from Jira using python

Could you please help to get Tag and Sprint value for particular issue import jira.client from jira.client import JIRA options = {'server': 'https://example.com', 'verify':False} jira = JIRA(options, basic_auth=('user',…
Himanshu Pant
  • 37
  • 1
  • 4
  • 11
0
votes
1 answer

Hyperlink embedded in http request

I'm using the jira-python client to add a comment to an issue: issue_id = 'SB-196' comment = 'A Slack channel has been created for discussing this escalation: slack://channel?id={}&team={}'.format(new_channel_id,…
darksideofthesun
  • 601
  • 2
  • 9
  • 19
0
votes
1 answer

Python: How to loop an API request to skip limit

I want to gather all jira issues via REST API. My current code gets the first 100 rows of data because atlassian limits 100 rows per request. Now, I have more than 500 rows but I don't know how to get them all instead of only 100 rows: from…
Seko
  • 13
  • 1
  • 9
0
votes
1 answer

Python: Scraping Jira

I have a script which scrapes info from Jira based on the filters I set up in Jira. Currently it just prints the Key, but how do I print the summary and status? I would like they to appear along side each other. Thanks! Here is my code so far: #…
Leap Head
  • 13
  • 2
  • 5