Example scripts
To homepage
New
Confluence

Add a Comment on a Page
App in script

ScriptRunner For Confluence
by Adaptavist
Compatibility

Confluence
Language |
groovy
def pageId = 123 // 'replace with your page ID'
def comment = 'This is an automated comment by ScriptRunner!'
Pages.getById(pageId).addComment(comment)Having an issue with this script?
Report it here