Forums

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

Create Page with web request with content from template

Florian Seiler
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!
February 6, 2025

I am developing some automations in Jira and I want to create pages in Confluence. I am creating the page successfully if I copy the storage format from a confluence page template manually in the body of the web request

 

YFzSBUa5bG.png

Now, I want to make this more dynamic. I want to get the storage value via web request from the template:

2SWfGiYMPU.png

The above web request is working. I tried the Get request with postman and I get the correct storage format:

 

a5Qyou3DLI.png

When I want to store the storage value in a variable in the automation it is stored this way without the "\" in front of the quotation marks in the text:

11Ba0xcUpq.png

With that, I get an error in the web request as you can also see in the above picture.

What am I doing wrong?

Best regards,
Florian

1 answer

0 votes
Brant Schroeder
Community Champion
May 14, 2025

@Florian Seiler welcome to the Atlassian community

You need to have the \ in front of the quotes, so it does not recognize it as closing out what you are passing.  Since the storage variable removes that you would need to put it back when you consume the variable or pass it another way.

Suggest an answer

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

Atlassian Community Events