Unable to use python gitlab module after Gitlab upgrade

Hi All,

We were using python gitlab module to update JIRA integration in selection list of gitlab projects. it used to work in well in 10.X version. After upgrade 12.3.6 , we are not able to use it anymore. it throwing below errors.

send: b’GET /api/v4/projects/21180/services/jira HTTP/1.1\r\nHost: gitlabe1.ext.host.com\r\nUser-Agent: python-gitlab/1.15.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: /\r\nConnection: keep-alive\r\nPRIVATE-TOKEN: DbjsdGVHyua683bFhsd\r\nContent-type: application/json\r\nAuthorization: Basic cGFSJFSDHbk6ZE1HNUtHHUQhNw==\r\n\r\n’
reply: ‘HTTP/1.1 200 OK\r\n’
header: Server: nginx
header: Date: Fri, 10 Jan 2020 06:55:45 GMT
header: Content-Type: application/json
header: Content-Length: 504
header: Connection: keep-alive
header: Cache-Control: max-age=0, private, must-revalidate
header: Etag: W/“f6e54b3b2c8185f7abf7488ec2ff4f2c”
header: Vary: Origin
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-Request-Id: fCQiSDMOiw
header: X-Runtime: 0.155131
header: Strict-Transport-Security: max-age=31536000
header: Referrer-Policy: strict-origin-when-cross-origin
2020-01-10 08:55:45,872 https://gitlabe1.ext.host.com:443 “GET /api/v4/projects/21180/services/jira HTTP/1.1” 200 504
send: b’PUT /api/v4/projects/21180/services/jira HTTP/1.1\r\nHost: gitlabe1.ext.host.com\r\nUser-Agent: python-gitlab/1.15.0\r\nAccept-Encoding: gzip, deflate\r\nAccept: /\r\nConnection: keep-alive\r\nPRIVATE-TOKEN: DbjsdGVHyua683bFhsd\r\nContent-type: application/json\r\nContent-Length: 208\r\nAuthorization: Basic cGFSJFSDHbk6ZE1HNUtHHUQhNw==\r\n\r\n’
send: b’{“id”: “jira”, “active”: true, “url”: “https://jiradc.int.host.com”, “username”: “uadmin”, “password”: “XXXXX!”, “push_events”: true, “merge_requests_events”: true, “jira_issue_transition_id”: “5”}’
reply: ‘HTTP/1.1 500 Internal Server Error\r\n’
header: Server: nginx
header: Date: Fri, 10 Jan 2020 06:55:46 GMT
header: Content-Type: application/json
header: Content-Length: 39
header: Connection: keep-alive
header: Cache-Control: no-cache
header: Vary: Origin
header: X-Request-Id: bMKqMJSawX5
header: X-Runtime: 0.120188
2020-01-10 08:55:46,002 https://gitlabe1.ext.host.com:443 “PUT /api/v4/projects/21180/services/jira HTTP/1.1” 500 39
2020-01-10 08:55:46,003 Encountered an error: 500: 500 Internal Server Error
2020-01-10 08:55:46,004 All done.