Jira python API 3.5.0 search_issues() call modifies the fields parameters

jmoller2
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2023

While using the search_issues() call in my code, I noticed that if I provide the field "key" in the list of fields, the field's value will have been changed to "issue_key" after the call. Example code before:

fields = ["key"]

print(fields)

jira.search_issues(query, fields=fields)

print(fields)

The resulting print:

['key']
['issuekey']

Is this a known bug and has it been fixed? I would not expect the library to modify the provided parameters.

1 answer

0 votes
jmoller2
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 5, 2023

The same issue does not seem to happen on version 3.1.1.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events