Hi,
I wrote an event in scriptRunner, that builds 19 pages under parent page.
I need to have a certain order in the tree for all 19 pages. didn't find a solution.
Does anyone have an idea?
Thanks,
Shira
Hi,
You can reorder the pages in the page tree manually by clicking the ellipsis button on the top right of the page and selecting "View in Hierarchy". Then you can drag the pages to the order you need.
I don't know exactly how to do this programatically, but it should be possible. I noticed that I can set the position of a page but have not tested it.
Page page = new Page();
page.setPosition(1);
Please mark this question as answered if this resolves your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.