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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.