Home/Jira formatting reference
Jira text formatting
Email links in Jira: [mailto:] in wiki markup and ADF
A mailto link in wiki markup is [mailto:address]. Jira shows the address as the link text. ADF stores it as a link mark whose href starts with mailto:.
Wiki markup
[mailto:name@example.com]
[alias|mailto:name@example.com]
Stored as ADF (REST API v3)
The ADF document Jira Cloud stores for [mailto:legendaryservice@atlassian.com]:
{
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "legendaryservice@atlassian.com",
"marks": [
{
"type": "link",
"attrs": {
"href": "mailto:legendaryservice@atlassian.com"
}
}
]
}
]
}
]
}
Examples
Wiki markup (API v2)
[mailto:legendaryservice@atlassian.com]Link an address so a click opens a new message.
Rendered by Jira (HTML)
<p><a href="mailto:legendaryservice@atlassian.com" class="external-link" rel="nofollow noreferrer">legendaryservice@atlassian.com</a></p>Back to wiki after the round trip
[legendaryservice@atlassian.com|mailto:legendaryservice@atlassian.com]Sent to Jira Cloud on .
Wiki markup (API v2)
[http://jira.atlassian.com]Compare with a web link written in the same bracket form.
Rendered by Jira (HTML)
<p><a href="http://jira.atlassian.com" class="external-link" rel="nofollow noreferrer">http://jira.atlassian.com</a></p>Back to wiki after the round trip
[http://jira.atlassian.com|http://jira.atlassian.com]Sent to Jira Cloud on .
Wiki markup (API v2)
[Atlassian|http://atlassian.com]Compare with a link that has an alias.
Rendered by Jira (HTML)
<p><a href="http://atlassian.com" class="external-link" rel="nofollow noreferrer">Atlassian</a></p>Back to wiki after the round trip
[Atlassian|http://atlassian.com]Sent to Jira Cloud on .
What changes in conversion
- The probe for [mailto:...] rendered the address as the link text, with a mailto: href. A wiki read of the stored ADF returned [address|mailto:address], with the address repeated as alias.
- ADF has no separate mail link. It is the ordinary link mark with a mailto: href.
- The Jira help says the link comes with a mail icon. The rendered HTML was an anchor with the external-link class and no icon element.
Pitfalls
- Write the full
mailto:prefix inside the brackets. Without it the text is not an email link. - Never put a real person's address in an example or a shared template.