The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do you escape the @ character inside a code block to prevent username resolution?

Deleted user
May 4, 2016

This question is in reference to Atlassian Documentation: Markdown syntax guide

I'm trying to write a comment with a code block, something like:

```
@Test(expectedExceptions = IllegalStateException.class
```

However Bitbucket seems to be very keen on trying to look up @Test as an end-user and since we have a user with that user id the @ sign will disappear and only the user name will show up unfortunately (and probably that user will receive an unnecessary notification).

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 5, 2016

Hi Peter,

We're tracking a fix for this on the following JIRA issue:

https://jira.atlassian.com/browse/BSERV-5441

This change should be available in the 4.6.0 release of Bitbucket Server.

Deleted user
May 5, 2016

Thanks for the link.

TAGS
AUG Leaders

Atlassian Community Events