You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
We are doing an upgrade from Confluence 7.17.1 to 7.19.7, and we have a bunch of user macros that no longer work and they just show the content of the macro. Its almost as if either "$action" has stopped working or the server is failing to actually run the code.
For example the macro below works fine in the current version but just prints the line of code in the upgraded version:
## Macro title: creationdate
## Macro has a body: N
##
## Developed by: Thomas Schlegel
## @noparams
$action.dateFormatter.formatDateTime($content.getCreationDate())
If you remove the "$action.dateFormatter.formatDateTime(" and just access the content it works fine, its almost as if Confleunce is just not running the code and just printing it.
I am not a coder so any help would be apprecaited so we can continue the upgrade
Thanks
Hi Neil,
It is possible that you are hitting this bug CONFSERVER-82741 - Variables in user macro are not resolved
There is a workaround in that bug report that can be applied, but if you are still having issues I suggest you open a ticket with support for further help.
I hope this helps!
Dean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.