Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,262
Community Members
 
Community Events
168
Community Groups

Jira Automation Mails

Hello everyone,

I am trying to solve 2 problems.

 

Issue 1. When we send a Link through comments, and we recieve an automated email, all those "links", aren't coming out as LINKS, right now it is coming as a normal text (YELLOW)

Issue 2. Is there a way for attachments to show up as images? (My attachments are always images), right now it shows me either a long text, or a broken img (RED)

test.png

 

Code right now:

 

 

{{issue.assignee.displayName}} completó la tarea {{issue.summary}}

{{issue.comments}}

<img src="https://example.com/jira/secure/attachment/{{issue.fields.attachment.id}}/{{issue.fields.attachment.filename}}">{{issue.fields.attachment.filename}}</img>

{{attachment}}

 

 

 

1 answer

Hi Fede

For issue 2 one thing you could try in your send email content is the following:

Attachments:
<ul>
{{#issue.attachment}}
<li><a href="{{content}}">{{filename}}</a></li>
{{/issue.attachment}}
</ul>

That will give a list of attachment names and link. I don't think you would be able to have an image as the link as the email client would not have permission to it

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

117 views 0 9
Read article

Atlassian Community Events