Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Rovo
  • Questions
  • How can I iterate through all the pages in a space and leave comments if my rovo agent is triggered?

How can I iterate through all the pages in a space and leave comments if my rovo agent is triggered?

Andrew Allen
January 20, 2026

I have created and using a rovo agent to detect for patterns that are similar to secret keys. This works on both "publish" and "edit" however I need to scan the pages that will not be triggered by this. I figured I could use a schedule trigger and the "look up pages" event but how would I then also leave a comment in the branch?

3 answers

0 votes
Andrew Allen
February 11, 2026

Trigger => Page Branch => Then: Use Rovo => if: compare values => Then: add comment

0 votes
Dr Valeri Colon _Connect Centric_
Community Champion
February 10, 2026

Hi @Andrew Allen  Rovo agents can comment on a page, but Jira/Confluence Automation can’t loop through pages and run a Rovo agent inside each branch. The “Lookup pages” action returns a list, but Rovo can only run once per rule, not once per item in a branch.

Workarounds today:
• Use “Lookup pages,” then pass the list of page titles/URLs into one Rovo agent call and have it return which pages need comments.
• Or run a scheduled script/Forge app to iterate pages and call the Confluence API to add comments directly.

Rovo cannot currently comment page-by-page inside an Automation branch.

0 votes
Aaron Pavez _ServiceRocket_
Community Champion
January 20, 2026

Hi @Andrew Allen 

 I figured I could use a schedule trigger and the "look up pages" event 

Yes, you need to find another way to look for the pages. a date range? labels? Confluence automation should work here or another agent triggered by something else.

> but how would I then also leave a comment in the branch?

Do you mean adding a comment in the pages youve found?

Ill assume you've already something working and you are already posting comments.

Or that part isnt working?

Can you share screenshots of the configuration you have so far?

Regards

Andrew Allen
January 20, 2026

Rovo.png

Aaron Pavez _ServiceRocket_
Community Champion
February 11, 2026

Can you send a bit more screenshot of each action? It might be a problem with the branch. I'll test it.

Do you have any errors in the audit logs? What does it say?

Send us a screenshot.

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events