Forums

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

How are PageIDs generated?

Mya.Hauck
Contributor
December 7, 2020

We are trying to predict URLs of pages. Both the URL page title format and URL PageID format contain a page's PageID, so we figure the PageID is what we need to understand to be able to predict a URL.

How is a PageID generated? Is it possible to predict PageIDs? Are they some sort of count? Are they site unique, or are they unique to all of Atlassian?

1 answer

0 votes
Nic Brough -Adaptavist-
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.
December 7, 2020

The IDs are unique only within the current system, and they are sequential, but they're not consecutive.  The closest you could get to predicting them is to look at the id of the very last page that was created recently, add 10 to the number (I think it's 10), round it down to the nearest 10, then your page id is likely to be that give or take 1 to 9.

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