Hi,
I tried to add webItems with absolute urls to the “email.batch.content.action.links” and “email.adg.action.links” sections. However it seems that absolute urls currently don’t work in these sections.
If I add the following to my atlassian-connect.json:
"webItems": [
{
"location": "email.batch.content.action.links",
"weight": 200,
"url": "https://example.org",
"name": {
"value": "Reply by email"
},
"key": "email-button-reply-by-email"
},
{
"location": "email.adg.action.links",
"weight": 200,
"url": "https://example.org",
"name": {
"value": "Reply by email"
},
"key": "email-button-reply-by-email2"
},
{
"location": "system.content.button",
"weight": 200,
"url": "https://example.org",
"name": {
"value": "Reply by email"
},
"key": "email-button-reply-by-email3"
},
{
"location": "email.adg.footer.links",
"weight": 200,
"url": "https://example.org",
"name": {
"value": "Reply by email"
},
"key": "email-button-reply-by-email4"
}
],
Links are generated in emails however they get converted to relative urls:
In contrast to that adding an absolute url to “system.content.button” works fine:
My ultimate goal is not to add https:// links but mailto: links to the emails but needless to say just like absolute urls mailto: links don’t seem to work in the email sections.
Is this the intended behavior? Is there anyway to bypass this limitation?
All the Best
Sebastian