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

Remove broken 'author' parameter in Bamboo create_comment #1407

Closed StardustGogeta closed 3 weeks ago

StardustGogeta commented 3 weeks ago

The Bamboo create_comment function does not work, returning an error that the author field is unrecognized and invalid. The field should be removed to fix the behavior.

We can also see that the author field is not present in the documented API, linked below: https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-result-projectkey-buildkey-buildnumber-comment-post

Making this change allows posting comments, as expected.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 34.37%. Comparing base (d2fd7fa) to head (37868a2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1407 +/- ## ======================================= Coverage 34.37% 34.37% ======================================= Files 46 46 Lines 8585 8585 Branches 1601 1601 ======================================= Hits 2951 2951 Misses 5511 5511 Partials 123 123 ```

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