Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't print parsed json response in service_desks() #1243

Closed
2 of 4 tasks
tsekine354 opened this issue Nov 18, 2021 · 0 comments · Fixed by #1246
Closed
2 of 4 tasks

Don't print parsed json response in service_desks() #1243

tsekine354 opened this issue Nov 18, 2021 · 0 comments · Fixed by #1246
Labels

Comments

@tsekine354
Copy link

Bug summary

jira.client.JIRA.service_desks() method unnecessarily prints r_json variable (to stdout):

print(r_json)

Is there an existing issue for this?

  • I have searched the existing issues

Jira Instance type

Jira Cloud (Hosted by Atlassian)

Jira instance version

No response

jira-python version

main

Python Interpreter version

3.9

Which operating systems have you used?

  • Linux
  • macOS
  • Windows

Reproduction steps

# 1. Given a Jira client instance
jira: JIRA
# 2. When I call the function with argument x
jira.service_desks()
# 3. See stdout

Stack trace

N/A

Expected behaviour

JIRA.service_desks() returns list of ServiceDesk resource, without any side-effect (i.e. printing the response).

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants