Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,905
Community Members
 
Community Events
176
Community Groups

How to find all pages which have not been converted to the new format?

I have been creating Confluence pages since 2018.  I have some pages in the old format and some in the new format.  Currently when I come across a page in the old format, I scroll down to the bottom of the page, Click Preview Page, Convert the Page and then Publish it on the new format.  The problem is that I am a user (not a Confluence admin) and with hundreds of pages, I don't have an easy way to figure out which ones need to be converted.  I am not looking to convert all of them in bulk but I would like to find a way to get a listing of all the pages in my space that are non-converted so I can convert them over as I have bandwidth.  I would be open to pulling this data from the REST API if there isn't a way to find them via the UI.

1 answer

0 votes
James Dellow Community Leader Jul 27, 2021

Use Get content properties in the API:

https://developer.atlassian.com/cloud/confluence/rest/api-group-content-properties/#api-wiki-rest-api-content-id-property-get

You'll see something like this returned if the page has been edited/migrated to the new editor:

{
"id": "1234567890",
"key": "editor",
"value": "v2",
"version": {
"when": "2021-07-28T01:34:13.798Z",
"message": "",
"number": 1,
"minorEdit": false,
"contentTypeModified": false
},
"_expandable": {
"content": "/rest/api/content/1234567890"
},
"_links": {
"self": "https://yoursubdomain.atlassian.net/wiki/rest/api/content/1234567890/property/editor"
}
}

Is there a way to pull all pages in a space or do I literally have to go to each page in the space and check for that value?

James Dellow Community Leader Jul 30, 2021

Yes - use the search API and ask it to return the editor metadata in the results. As a starting point:

wiki/rest/api/content/search?cql=type=page&expand=metadata.properties.editor

You will need to page through the results if you have lots of content or add additional CQL filters to narrow the results, e.g pages for a particular space or date range.

To the best of my knowledge, you can't just ask for pages where editor.value = v2 as the property would need to be indexed by search.

One other suggestion - ask Atlassian support to run a backend query for you.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events