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
0 answers

Python - Jira login issue

I'm a newbie to python, trying my hands on python - Jira, I have the below code, def login_jira(un, pwd): return JIRA(basic_auth=(un, pwd), options={'server':'jiraUrL'}) When I try to execute, it throws the below error TypeError: 'str' object is…
0
votes
1 answer

How to prevent duplication of JIRA Tickets in python

I have 2 instances of JIRA . I have written a script where tickets from one instance are read and a replicas of same are created in another instance. Now the problem is , whenever I run the script it is generating duplicate tickets again and…
0
votes
1 answer

errorcode 104 while hitting the execution API of Zapi

While trying to create a new execution of a cycle in zephyr I am getting an error code of 104. I have tried it through postman as well of which i am pasting a screenshot as well. please any type of guidance would be great Below is the body that i am…
mrygank
  • 23
  • 3
0
votes
1 answer

Is there any API for sending JIRA email notifications using python

I wanted fetch issues from from project in jira using jira api and send it to groupemail via jira automatically. I am using PYTHON. I have tried fetching data using jira api. But am stuck sending email . Could someone please help here. How can we do…
Ramya
  • 1
0
votes
1 answer

unable to update the column to the excel file which is checkout from perforce

i have a code where i was reading the Excel file from Perforce and storing it to the local. then doing some other work like: -- read all sheets -- search for particular columns and extract that column data. -- and from that data extract the other…
snehil singh
  • 554
  • 1
  • 5
  • 18
0
votes
1 answer

Automate project creation in Jira server

I'm trying to automate the creation of project in Jira(server). In our server we are using our own workflows, issue types, notification schemes, permissions, fields, screens, priority schemes. Also after creating the project we need to add this…
0
votes
3 answers

Jira Python - all issues from all projects

I have some code to connect to my company’s instance of the JIRA server via Jira’s Python Client. When i do a count on all the projects available in the server, I see close to 4300 projects, but when I loop through the projects to get a list of all…
TirzaRuth
  • 41
  • 1
  • 6
0
votes
1 answer

Automated monthly report Python-Jira

A small request. I'm a junior in Python and Jira but I want to learn :) I have a code from a colleague that left the company for automated report of number of incidents in last 12 months! What I want to have is number of incidents automated monthly…
0
votes
1 answer

How to keep asking for user name and password until correct while authenticating the user in jira using python jira module?

I am using python jira module. Now when the user enters the jira username and password, it is authenticated using JIRA(option,basic_auth = (username,password)). How do I keep asking for the username or password if entered one is incorrect?
0
votes
1 answer

JIRA Field assignee cannot be set through Python

I have a python application which uses the JIRA API to fetch the open JIRA issues. For one of the issue's, I want to change the status and assign a new user. Following the JIRA documentation, applied the transition as…
triki
  • 11
  • 7
0
votes
0 answers

When trying to access Jira Client from Pycharm. I am getting 'response text = Basic auth with password is not allowed on this instance' error

Error Description = 'Basic auth with password is not allowed on this instance'. Code: from jira.client import JIRA options = {'server': 'https://organization.atlassian.net/'} jira = JIRA(options, basic_auth=('email@xxx.com',…
0
votes
1 answer

Basic authentication error while using Python-jira using api key

I am trying to do basic authentication with the help of Python-jira and written the following code from jira import JIRA SERVER="https://jira.company.com" user = user@company.com apikey='api_token' class create_issue: def…
punithavel
  • 11
  • 4
0
votes
0 answers

What are the ways to provide authorization(Oauth 2.0) for the user in JIRA SOFTWARE TOOL?

Following are the steps I had followed: 1. Make project through Jira. 2. Followed all the steps and got autharization url. 3. now able to access access_token and refresh_token. Problem: In oauth 2.0 from one admin client id and client secret we can…
0
votes
0 answers

How to export JIRA comment

I use Python JIRA library to export project content. Most of the fields are normal to catch, except the comments. Below is my codes, need help to point out what is the error. Why it come out with error: Thank you very much. "Traceback (most recent…
0
votes
2 answers

How connect to internal Jira instance via AWS lambda

I'm trying connect to internal Jira instance use my AWS lambda function. The lambda cannot connect to this web-resource because VPN is required. (all work properly on my local machine under VPN connection). Please any suggestion regarding this issue…
ppostnov
  • 139
  • 9