I 'rebuilt my PC' and reinstalled Python 2.7 and jira python library
jra-2.0.0
python 2.7.17
JIRA 7.6.9
since then Search_issues() no longer works using a 'fields=' attribute.
searchstring = 'project in("MyProject") and issuetype in (epic) ORDER BY "epic"'
#verprint ("Got JIRAs")
#first fails
j1= jiraconn.search_issues(searchstring, startAt=0, maxResults=500,fields=['customfield_10090','duedate','customfield_10070', 'issuetype','reporter','summary'])
# Matt A Removed Fields List 3rd July 2020
#this works
j1= jiraconn.search_issues(searchstring, startAt=0, maxResults=5000)
error
[, in File "/usr/lib/python2.7/site-packages/jira/client.py", line 2084, in search_issues fields = fields.copy() AttributeError: 'list' object has no attribute 'copy']
if i remove the fields attribute from Search_Issues() all works well, but a lot slower of course.
any help would be much appreciated.
You can use the old request way :)
https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira.py#L672
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.