It is almost amusing, and yet frustrating.
url = {baseurl}/rest/api/latest/issue/{issueKey}/comment
body = {"body": "To change the way a picture fits .."}
r = self.session.post(url=url, data=data), verify=False)
response
{"errorMessages":["Unexpected character ('b' (code 98)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: com.itlab.jira.plugins.extender.helper.RequestWrapper$1@537622; line: 1, column: 2]"]}
What on God's green earth does it even mean?
Yup! you got that right.
@Gokul Ramanan I don't think that is possible. You have to send format accepted by comment field only otherwise it will get converted to text.