i'm using webhook to slack.
and throw data type of json to slack.
for example about custom data:
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "{{comment.body}}"
}
if it is assigned double quote(") in smart value({{comment.body}}, occur invalid_payload error. so I tried some way, like using quote(), or replace(), but it doesn't work at that form.
i comfirmed it worked smart value where is in non json type data like "Send slack message(it is one of action type"
anybody help me?
Hi @Kix JY _Jong Yi Kim_ _TSE_ , welcome to the Community!
Not knowing the particulars of your situation, I would like to mention a couple possibilities that might simplify your setup.
I hope this helps! In most cases, one of these two options should make sending messages to Slack easier without having to manually configure a webhook.
Cheers,
Daniel | Atlassian Support
Hi Daniel, Thank you for your answer.
but unfortunately, i have to use "Send Web Request" to remain now form what i am using now.
I'd like to use smart value library in "Send Web Request" in this case "quote().
but it is no working.
So is there any method to solve this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.