Skip to content

log detail miss between jira-3.2.0 and jira-3.4.1 #1606

Open
@lishoujun

Description

@lishoujun

Bug summary

Hi!
This week I update jira lib from 3.2.0 to 3.4.1, after this update, when create issue failed, there is no enough log detail

in 3.2.0

2023-02-06 14:22:40,311 - DEBUG - 4410643968 - https://xxxx.atlassian.net:443 "GET /rest/api/2/project/xxx HTTP/1.1" 200 None
2023-02-06 14:22:40,839 - DEBUG - 4410643968 - https://xxx.atlassian.net:443 "POST /rest/api/2/issue HTTP/1.1" 400 None
The issue type selected is invalid.

in 3.4.1

2023-02-06 14:08:30,833 - DEBUG - 4556871168 - https://xxx.atlassian.net:443 "GET /rest/api/2/project/xxx HTTP/1.1" 200 None
2023-02-06 14:08:31,259 - DEBUG - 4556871168 - https://xxx.atlassian.net:443 "POST /rest/api/2/issue HTTP/1.1" 400 None

Is there an existing issue for this?

  • I have searched the existing issues

Jira Instance type

Jira Cloud (Hosted by Atlassian)

Jira instance version

NONE

jira-python version

3.4.1

Python Interpreter version

3.10.5

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 required field missing
jira.create_issue(x)
# 3.  400 but no log detail

Stack trace

2023-02-06 14:08:30,833 - DEBUG - 4556871168 - https://xxx.atlassian.net:443 "GET /rest/api/2/project/xxx HTTP/1.1" 200 None
2023-02-06 14:08:31,259 - DEBUG - 4556871168 - https://xxx.atlassian.net:443 "POST /rest/api/2/issue HTTP/1.1" 400 None

Expected behaviour

print the error detail

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions