This seems like such a simple question, but I've given it the obligatory 30 minutes of Googling, and I'm coming up with nothing.
We have pretty strict formatting requirements for our Jira tickets, but those tickets come into Jira from a variety of automated sources which we can't control. I'm putting together a service that inspects Jira tickets using the API, and applies the correct formatting if necessary. This would save us a lot of annoying labour.
It would be really useful if I could put invisible comments in the body of comment text, for both auditing purposes and manipulating the text. I can't find any official/legitimate way of doing this. I don't really think there'd be much call for it, aside from my quite specialist needs.
So does anyone have any ideas for Jira text markup tricks that would give readable comments in raw text form, but which wouldn't visibly render once the markup is applied? I'll take a moderately future-proof hacky kludge. Simply changing the text colour is not an option.
The way I've ended up getting around this is to use anchors:
{anchor: this text will not appear in the marked-up text in Jira}
It's not ideal, but it does the job, and shouldn't be removed in future versions of Jira.