This does not work either:

<pattern>%magenta(%message)%n</pattern>

Instead of a newline the literal '%n' is outputted.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira