Hi team
when i use
{
"id": "1760042269",
"type": "page",
"title": "new page",
"space": {
"key": "BIIAC"
},
"body": {
"storage": {
"value": "<table><thead><tr><th>SR no.</th><th>Email ID</th><th>CC Number</th></tr></thead><tbody><tr><td>1.</td><td>dishasatani@gmail.com</td><td>6301008</td></tr><tr><td>2.</td><td><br /></td><td><br /></td></tr><tr><td>3.</td><td><br /></td><td><br /></td></tr><tr><td>4.</td><td><br /></td><td><br /></td></tr><tr><td>5.</td><td><br /></td><td><br /></td></tr></tbody></table>",
"representation": "storage"
}
},
"version": {
"number": 20
}
}
this format in KORE.AI(which is chatbot development) it works fine but if i use
{
"id": "1760042269",
"type": "page",
"title": "new page",
"space": { "key": "BIIAC" },
"body": {
"storage": {
"value": "{{context.session.BotUserSession.contentBody}}",
"representation": "storage"
}
},
"version": {
"number": "30"
}
}
this and pass the value of the context.session.BotUserSession.contentBody as same as above it doesnt work the html tags are getting changed how to resolve it
Hi @DISHA SATANI
Try to add {{context.session.BotUserSession.contentBody.asJsonString}}
asJsonString - https://support.atlassian.com/cloud-automation/docs/jira-smart-values-json-functions/
There may also be a problem with encoding. Are you sure you don't use unnecessary special characters?
You may need to escape the content of your smart value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.