I have a workflow state called RELEASED, when the transition happens to this state , can I modify content in wiki ? What I would like to do is, when RELEASE happens I want to move a certain existing page under a hierarchy to another hierarchy (like a move operation) . Is this possible ?
Sure it’s technically possible. Moving a page can be handled by the API. You’d have to fire a request via the API to move the page in question. Do you have a post-function that you need help with?
Should the post function be an event listener plugin or it can be run via a groovy script to make this change ? I’m guessing we need to use a REST API to achieve this .
Yes, you would use a REST call via app links. I’d have the post function dispatch a custom event and have your event listener perform the REST call. Might even write the endpoint on the confluence side as well. Not sure if a move exists already, but I like to have traceability on both sides.