Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Remove "" from AI Summary

Ben Sykes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 23, 2025

Hey,

I'm trying to get Confluence to post a message to our messaging platform; which I'm able to do as flat text. However, I'd prefer to leverage it as JSON, so I can manipulate the text better and have it better formatted on the user side.

The automation itself works, and it's not a bother, but I've got difficulty with using the AI Summary of the page I've published then contains extra ""s - so the JSON is unable to be interpreted on the other side, resulting in errors. So it's doing things like:

Summary: The Release Notes for this week include the introduction of a Validation Rule, "Insert Rule Name" which prevents XYZ from happening.

Which means that it breaks the validity of the JSON. Has anyone got any smart way to replace "" with something else, like single quotes, or insert an escape so it is able to be exported correctly?

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 23, 2025

Hi @Ben Sykes -- Welcome to the Atlassian Community!

Without seeing the specifics of your rule and audit log...

You could try adding the jsonEncode function to the field so it properly escapes characters when necessary: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#Json-encoding

Kind regards,
Bill

Ben Sykes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 24, 2025

@Bill Sheboy thank you so much! I really appreciate it, that worked like a charm!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events