I'd like to create a user macro that contains the same information as the author tagline:
Created by Jane Doe, last modified by John Doe on August 20, 2014.
I created a user macro that only displays when a page was last modified. But some of our pages need to display the author.
This is what's included in my last modified macro.
## contains last modified date only. Created date doesn't display.
## @param lastmodified:title=Last Modified
Last modifed on $action.dateFormatter.formatDateFull($content.getLastModificationDate())
I don't know how to add the author names. Can you please help?
Community moderators have prevented the ability to post new answers.
This topic refers to user macros: https://confluence.atlassian.com/doc/writing-user-macros-4485.html the code will not work in the space stylesheet section or anywhere else in the space administration.
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