You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Recently my macro start reporting an error on the Edit page. After some investigation I've found a problem and it seems to be on Atlassian's side.
While loading my macro is requesting the current page content using PageID parameter passed to in in the request URL.
For example page URL is https://subdomain.atlassian.net/wiki/spaces/SWAGER/pages/1425309123
App request is https://app.com/v2/openapi?pageId=1425309123
PageId matches and everything works fine.
On the edit page though it doesn't match.
Edit page URL is https://stepashka.atlassian.net/wiki/spaces/SWAGER/pages/edit-v2/1425309123
but the app is called with different page ID for example https://app.com/v2/openapi?pageId=1425309321
It is the case on the pages that were created some time ago. After page is published the issue is resolved and everything is working fine.
Any ideas why it happens and how to fix it?