298 questions
0
votes
0
answers
53
views
Cannot read Jira issue custom field using Python Jira library
I'm using the Python Jira library jira 3.8.0 and I want to use it to evaluate the custom field customfield_10032 (story points assigned to a task issue). However, using jira.issue(), I cannot access ...
0
votes
1
answer
87
views
login problem when using python jira library
The following code calling the python JIRA library https://jira.readthedocs.io/ and it works with the public JIRA server from https://jira.atlassian.com
jira = JIRA('https://jira.atlassian.com')
but ...
1
vote
1
answer
293
views
removing a label on a jira issue using python
I can add a label like this
issue.fields.labels.append("MYNEWLABEL")
but I have searched the docs and duckduckgo'd until my hair has gone greyer but I have not figured out how to remove a ...
0
votes
2
answers
400
views
Get all asssociated stories with a epic programatically
can some one help me with this request.
I am trying to use atlassian python api and rest api to list all tasks associated with a epic. unfortunately i am unable to do it. does some one have a working ...
0
votes
1
answer
500
views
activationID in JIRA Asset Management API
I'm working with Jira Asset Management API have the following code to fetch an object.
import requests
import json
id = "<validobjectid>"
url = "https://api.atlassian.com/jsm/assets/...
0
votes
1
answer
380
views
Get issue <> component from JIRA REST API [closed]
We are trying to extract data from the Jira REST API for reporting, we use Components in Jira to mark our projects, in the data that we retrieve from the API I don't see anything like component_id ...
1
vote
1
answer
159
views
Unable to access comments from jira worklogs via python-jira
I am trying to retreive worklog entries from Jira Service Management Cloud in python by using the jira-python library.
Everything works fine, except getting the comment from each worklog. The ...
1
vote
0
answers
71
views
Jira search_issues error returns "project not identified"
Trying to extract the data using Jira search issues but it's not identifying the project. Tried to check if it was an authentication error but it seems to be working fine. It always gives back the ...
1
vote
1
answer
476
views
python jira client and rate limit
I am currently working on a script to do some bulk operations on our company jira instance, that saves plenty of time compared to doing it via the UI.
Unfortunately there is a very strict rate ...
0
votes
0
answers
52
views
Issue related with python api for jira
I need to change a status on Resolved and point Declined for this status I use python api for that. My code looks like this
def decline_issue_status(self, firing_issue: Issue, resolved_issue: Issue):
...
0
votes
0
answers
329
views
PIP Python not installing latest version of package
So installing the JIRA python package.
The PyPi repo says there is a 3.5.2
but when asking for the specific version I get. the below... the generic install give me 3.2 which is not the latest version.
...
0
votes
0
answers
447
views
JIRA Cloud API - Python timeout
We have recently moved from on-prem to cloud and I'm now getting timeout errors when trying to connect to the new instance using python. I'm guessing that something somewhere is blocking python from ...
0
votes
1
answer
280
views
400 Error while Changing Transition State to Resolved for a JIRA ticket using REST API
I have one JIRA ticket which follows below workflow to get closed.
New -> In Review -> Work In Progress -> Resolved -> Waiting for Confirmation -> Closed
now, using the transition ...
0
votes
1
answer
159
views
Jira api to search all releases in Jira using python
I used to use JIRA.project_versions(id) to get a list of all releases in Jira in python.
I'm trying to move to using requests.request
I have this to get a count on the number of issues in Jira
...
0
votes
1
answer
516
views
Creating an issue in Jira from python error - Epic Link Field is Empty
I am trying the very basics of creating a task in jira through python using the module jira==3.5.2: https://jira.readthedocs.io/
I have the following code in my constants.py file:
from jira import ...
1
vote
1
answer
101
views
Create project in Jira using Rest API
"ket": "DEMOCREATE",
"name":"DEMO ",
"projectTypeKey":"business",
"projectTemplateKey":"com.atlassian.jira-core-...
0
votes
1
answer
288
views
Jira - Submit portal form using Python
I'm looking for a way to submit a portal form using Python. For example I have a form at https://instance.atlassian.net/servicedesk/customer/portal/1/group/1/create/1
I can authenticate using email:...
3
votes
1
answer
18k
views
Using Python to automate creation of JIRA tickets
I have been trying to write a python script to automatically raise Jira tickets, and have been running into some trouble. To be more specific, I tried to use both the issue_create and create_issue ...
0
votes
0
answers
235
views
API python jira
i want to change the status of an jira test plan ,
inside this test plan there is 10 tests that are associated to test execution 'RO-6665'
i want to update the status of those test from 'TODO' to '...
0
votes
1
answer
207
views
Jira API How to Populate automatically Description field when new issue gets created for a project
Using Jira API and python I want to Populate automatically the Description field with a template like the one below, every time a new issue is created for an specific project:
Some Bold Text: Some ...
1
vote
2
answers
2k
views
I want to create an issue and link it with an existing Epic at the same time, I want to use name
Create an issue using the JIRA python API and link it with an existing Epic using the epic name and not the ID.
I also want to use the name for assignee rather than using the id of the assignee.
It ...
0
votes
1
answer
60
views
How do I get attribute3 of attribute2 of attribute1, if attribute2 may or may not exist?
I'm trying to construct a list comprehension to create a list of the value of issues.fields.parent.id, or None if there is no parent. Is there a simple way of getting attribute2 of attribute1, and ...
0
votes
1
answer
696
views
JIRA rest/api/2 how to copy dashboard?
I use rest/api/2 to some work about jira dashboard.
but when I try copy dashboard, it always not fine.
my whole code is:
import requests
from requests.auth import HTTPBasicAuth
import json
def auth(...
0
votes
1
answer
432
views
Python Jira How to detect the previous status of an issue
I'm currently using python and the jira api to automate certain events that happen on an issue.
Let say an issue was opened and then it gets closed. Then it gets re opened again for a second time.
...
0
votes
1
answer
697
views
Getting data out of JIRA using JIRA API Call
Jira page screenshot
I am trying to get data out of JIRA tickets using the JIRA API Call through python and there is a specific field in this project called "Requested Materials" which is in ...
2
votes
1
answer
2k
views
Unable to fetch the jira cloud assets through atlassian-python-api
I am working on a Atlassian Jira cloud product. I have a requirement to get the details of Jira cloud assets and update a field with some specific key-value pair. To achieve same, I have chosen python ...
0
votes
1
answer
3k
views
Creating Jira issue with REST API
Having issues with trying to create an issue with Jira through the APIs, below is a sample of my code. We are using enterprise jira, I have to replace certain sections with so I hope it wont effect ...
1
vote
1
answer
1k
views
Get users' email with Jira Python Library
I've been trying to get the email of a Jira user other than my own with the Python3 Jira library, but couldn't do it. It either gives me an error, saying I don't have enough permissions to get it, or ...
1
vote
1
answer
2k
views
Obtain all jira issues based on its project name and labels
Well first off, I used issues = jira.get_project_issuekey_all("project_name") to obtain all the issues in my project but I am only getting 50 results back. How would I go about getting all ...
0
votes
1
answer
695
views
Access company jira server with python-jira using certificates
My company uses its own multi-factor authentication to login to our jira server. Everything I have searched for only suggests how to connect to the server using username/password or an api-token. But ...
0
votes
1
answer
335
views
How python jira lib to change issue's resolution
I try to update an issue's resolution through python jira lib, but get below error.
>>> jp=JiraProject('VCART', 'https://jira.microhard.com')
>>> _issue=jp.issue('VCART-4046')
>&...
-1
votes
1
answer
347
views
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 ...
1
vote
0
answers
189
views
JIRA API to List Jira users added from date
I want to list all the users who were added from date.I have a code like this
from jira import JIRA
jira = JIRA('<company-jira-url>',
basic_auth=('username', 'password'))
users ...
2
votes
2
answers
5k
views
Jira api to search all issues in Jira using python
I want to list/search all the issues in Jira. I have a code like :
url = 'https://company.com/rest/api/2/search'
auth = HTTPBasicAuth("username", "password") // I tries token as ...
-2
votes
2
answers
1k
views
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 ...
-2
votes
1
answer
404
views
Automating Jira Cloud backup [closed]
Is there a way to automate backups for my Jira Cloud site on a daily basis including pulling all the data and attachments?
1
vote
1
answer
294
views
Jira-Python - Specify API version?
Using Jira-Python, how do you specify the API versioning that the issues= command sends? i.e.,
https:///rest/api/2/search?
vs.
/api/latest/search ...
0
votes
2
answers
2k
views
Python script to update single select custom field in jira
I am trying to update a single select custom field (customfield_11104). This field have 5 option 1. None 2. PR Review 3. Production 4. Staging 5. Rejected. I want to update this field to staging ...
0
votes
1
answer
1k
views
SSL Error while trying to access JIRA using Python
I am getting SSL Error while trying to access JIRA API from python application.
The error message reads -
requests.exceptions.SSLError: HTTPSConnectionPool(host='jira.companyurl.com', port=443): Max ...
0
votes
1
answer
332
views
Jira create issue returns 405 python
I am using python Jira package and trying to create Jira issue:
from jira import JIRA
jiraOptions = {'server': "http://jira.xxx.com"}
jira = JIRA(options = jiraOptions, basic_auth=(
&...
0
votes
2
answers
398
views
creating jira customfield issue
Does anyone have an idea of creating an array and option type customfield issue ?
If anyone does have leads, please suggest some.
although i tried to do some changes around here but no luck.
(...
0
votes
1
answer
202
views
How to read a jira attachement content without downloading it in python?
I am working with python-jira, I want to get the attachments(only excel or csv) data from an issue into a readable format(say pandas df for example) without downloading the files.
Is there any ways to ...
0
votes
1
answer
1k
views
Get Epic Link for issue via jira-python
When I request a Jira issue via python-jira (jira_session.issue("<KEY>")), the result does not contain the "Epic Link". Can I request to include it or do I need to do a ...
1
vote
2
answers
4k
views
AttributeError: 'PropertyHolder' object has no attribute - Python JIRA API
I am trying to export all comments in excel from issues of a Jira project using python. I have used following
Comments_list.append(issue.fields.comment.comments)
for comment in Comments_list:
ws....
0
votes
1
answer
296
views
Add value to select list in Jira cloud using python and API
I'm trying to add new values to a multiple select custom field.
I'm getting 401 response.
The code taken from Atlassian documentation .
Anyone knows why? maybe it is something with the authentication ...
0
votes
1
answer
674
views
Connecting to jira cloud using python
I am trying to connect jira cloud using REST API. This is my Python code for it:
pip install jira
from jira import JIRA
jiraOptions = {'server': "https:url"}
user = 'emailid'
apikey = '...
0
votes
1
answer
1k
views
jira createmeta not showing all customfields
If I navigate to /rest/api/2/issue/createmeta/PROJ/issuetype/N (in this case, I'm getting Task), the list of fields returned is incomplete. There are a number of customfields that are in use (I can ...
1
vote
1
answer
4k
views
How to extract test case results using Jira Rest API
When I use the Rest API to extract the json file, I am able to view all the issues and fields. However, none of these fields contain any information about the tests run. I am able to see the tests and ...
1
vote
1
answer
853
views
How to connect to JIRA api with 2fa enabled by organization?
I use self hosted Jira and I'm currently trying to connect to the Jira api using a python script (and the requests library) having 2fa enabled by my organization. I'm not an admin of the project and ...
-1
votes
1
answer
618
views
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.