How to allow a body for a macro

Damien Leroy September 1, 2013

Hi,

I have created a macro that works fine.
Now, I would like to modify its behavior: the macro should have a content (text) specified in the editor and the macro would just be used to push this text inside a specifc structure provided by a Velocity file.
I thought that I had just to return true for "hasBody()" method but an error occur when I redeploy my application and the macro is marked as "unknown".
Could you please indicate me what could be the reason of this problem ?
Thanks in advance.

1 answer

1 accepted

0 votes
Answer accepted
Matthew J. Horn
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.
September 2, 2013

When you define the macro, what did you select for "Macro Body Processing" in the admin? That should be where you indicate that the macro has a body.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events