Hi all,
I have problems accessing a page with a big amount of embedded JIRA queries. If I would know the page id I would be able to access directly in edit mode to reduce the amount of JIRA queries,
Any ideas how to get the id only having the link of this specific confluence page?
BR,
Holg
Hi @HolgDev,
do you have access to the parent page? If yes, this could be done with a user macro that prints out the ids of its children.
## @noparams
<table>
#foreach ($child in ${content.getChildren()})
<tr>
<td>${child.getTitle()}</td>
<td>$child.getIdAsString()</td>
</tr>
#end
</table>
In the Macro Body Processing setting choose Rendered.
This will render a table with the first column displaying the page title of child pages, and the second column — page ids. You can then use the URL http://my.domain.com/pages/editpage.action?pageId={pageID} to go to the editor of that page.
Hope this helps.
Roman.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.