atlassian-api / atlassian-python-api

Atlassian Python REST API wrapper
https://atlassian-python-api.readthedocs.io
Apache License 2.0
1.29k stars 642 forks source link

Fixed confluence add_user_group to use right URL #1425

Open Mauwork opened 6 days ago

Mauwork commented 6 days ago

Rel: https://github.com/atlassian-api/atlassian-python-api/issues/1422 The URL of the confluence REST API was wrong in add_user_group and it has to be a PUT request according to:

https://docs.atlassian.com/ConfluenceServer/rest/8.2.0/#api/user/{username}/group/{groupName}-update

codecov[bot] commented 6 days ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 34.38%. Comparing base (42ed0b0) to head (710fe28).

Files Patch % Lines
atlassian/confluence.py 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1425 +/- ## ======================================= Coverage 34.38% 34.38% ======================================= Files 46 46 Lines 8586 8584 -2 Branches 1601 1601 ======================================= Hits 2952 2952 + Misses 5511 5509 -2 Partials 123 123 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.