When creating a comment via the API, no alerts are sent to anyone.
I am trying to send an e-mail to the requester.
I am also attempting to add a mention to a user, the requester or otherwise via the API, but that does not alert anyone either.
Is this a bug? Is there a different was of doing this?
Here is the first attempt that simply copies the text of the message:
{
"comment": {
"body": "@ChrisBean this is a message", "is_private": "false",
"user_id": "xxxxxxx"
}
}
Here is an HTML example of the JSON that I send for comment:
{
"comment": {
"body": "<p><span class=\"user_with_avatar waiting CommentRichText__mention___1s8de\" data-id=\"4921780\" data-klass=\"Group\"><span class=\"username\" style=\"color: #0079aa;\">@ChrisBean</span></span> oops</p>", "is_private": "false",
"user_id": "xxxxxxx"
}
}