To Create a postfunction follow this guide
How to add a post function
and then Choose Move Confluence Page location
Filling the form
1. Choose a Confluence Customfield
Choose a page customfield to be moved, a list of Confluence Picker Customfields will appear. Choose one
2. Choose a Page Location
3. Run as User