I use an auto-rule on my board in JSM to send notifications, but I ran into a problem.
I am using custom data in my webhook.
It looks like this
{
"issueKey" : "{{issue.key}}"
"comment": "{{issue.comment.last.body}}"
}
And this works fine as long as we don't send the attachment along with the text in the comment
In that case I get the image data along with the text, e.g.
"My test comment with image !Ym2_k1aqFY0 (1e0a18b0-18e7-449c-87a7-f4a822e386d8).jpg~width=828,height=828!"
Am I doing everything right? Can I remove the image data from the comment body?