I'm trying to send a web request containing fields like {{issue.summary}} but when the customer types a double quote, the request fails with "invalid json".
It appears that the quote is inserted (without escaping) into the json of the web request. Is there any way to safely use issue.summary in a web request?
.asJsonString fails in the same way but that was a good hint - .jsonEncode works perfectly for my use case. Thanks!
Hi @Alex Shroyer ,
welcome to the Atlassian Community.
Please see here and try:
asJsonString
{{issue.summary.asJsonString}}
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.