Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to display the author of macro content in a user macro

adavison October 24, 2017

G'day,

 

I am trying to build a confluence page to assemble a number of report items into a weekly report. 

I've written a Macro to get the reports into a standard format, and want to be able to capture the author of the content in the macro and display this.

Using $content.getLastModifier() or $content.getCreator() yeild the author of the page, not the person who added the macro content to the page.

Is this even possible?

 

Thanks

 

Andrew

1 answer

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
June 11, 2023

Hi @adavison ,

it is very hard to put in place. You should retrieve page history and retrieve when that portion of page has been added to the page itself. My suggestion is to add a parameter to the macro itself where the creator can put the username.

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events