Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Best way to access macros on a page?

Stefan Ernst
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 31, 2015

Hello,

what is the best way to retrieve macros from a page? Specifically in a Confluence event handler using the Page Object?

I want to obtain a list of linked JIRA items on a page that was recently modified.

I'm unsure whether to query the jira-metadata REST service as this would mean making a REST call from a blocking event handler which seems risky to me.

many thanks!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Andreas Purde August 11, 2015

The handleMacroDefinitions functions in the XhtmlContent class might do what you need.

Hope that helps, Andreas

TAGS
AUG Leaders

Atlassian Community Events