Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create a new generation pages via REST API?

Hello Atlassian Community,

I'm trying to create a new page via REST API endpoints and so far a creation itself was successfully accomplished.

However. The new pages are created as if I used the old blank page, while the storage content is from the new generation pages. It finely ruins the layout and the editor of the page is old. Given admins still can't migrate existing old page to the new editor experience, as the feature is not rolled out yet, is it possible to create programatically a new generation page?

Best regards,

Nikolai

1 answer

1 accepted

0 votes
Answer accepted

May take time for the answer / proper solution, yet if you find yourself in a similar situation, here's a workaround.

  1. Create in any space a new-gen page;
  2. Give it a very distinctive and unique name, one unlikely to find in any other space, e.g., "Everybody loves pineapple pizza";
  3. Via REST API copy the page (https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-id-pagehierarchy-copy-post) and update it. You will have a new-gen publication.

Cheers!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

729 views 16 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you