Skip to content

Fix add_comment_to_object using params instead of data#1627

Open
star7js wants to merge 1 commit intoatlassian-api:masterfrom
star7js:fix/insight-assets-add-comment-post-body
Open

Fix add_comment_to_object using params instead of data#1627
star7js wants to merge 1 commit intoatlassian-api:masterfrom
star7js:fix/insight-assets-add-comment-post-body

Conversation

@star7js
Copy link

@star7js star7js commented Mar 26, 2026

Summary

  • add_comment_to_object in both insight.py and assets.py was sending the comment payload as query string parameters (params=) instead of a JSON request body (data=), causing a 500 error from the server.

Closes #1596

…T body (closes atlassian-api#1596)

The Insight/Assets comment create endpoint expects JSON in the request
body, not query string parameters. Using params= causes a 500 error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add_comment_to_object fails using params kwarg

1 participant