It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create a copy of a page by Scriptrunner event Edited


we use Comala Documents (former Workflow) in some Confluence spaces.

We need to create a copy of an approved page when a certain label is set on that page.

I thought about using ScriptRunner as it can handle Comala approval events with a custom event handler.

Anyway, I've no ideas how to copy a page from an existing one using a groovy script. Are there any hints on documentation or example scripts? The build in scripts for ScriptRunner don't help me here.

Any idea on a bit more detailed documentation?

Best regards


1 answer

Hi @JP _AC Bielefeld Leader_ 

I can't help with ScriptRunner but I wonder if you have considered the Comala Publishing integration. You can set it up to only publish a page when a label is present, e.g.:

{workflow:Different-space publishing with a label}

 If this doesn't work for your use case please do share more details and I'll see if there are any other ways we can help with this.

Kind regards

Senior Product Manager at Comalatech


thanks for the idea & I'm sure this will work, but with Comala Documents being the most expensive app we use, right now we're not able to spend more on Comala Publishing.

I'll check myself for a groovy script solution.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,532 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you