Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add an image to a post function email?


I would like to add an image to a post function "ScriptRunner workflow function - Send a custom email" 

I'm currently using the following:

In the email template:


The <a href="$issue.key" > $issue.key </a> ticket has been solved. Please provide feedback for it in maximum 2 days:

<img src="${}/images/screen_feedback.png"/>

Summary :
Description :

The error is: 

Failed to parse template script (your template may contain an error or be trying to use expressions not currently supported): startup failed: GStringTemplateScript402.groovy: 9: unexpected token: < @ line 9, column 1. <br><br> ^ 1 error

I'm not sure what's not okay.


Thank you.

1 answer

Also I would suggest removing that final / at the end of the img tag.

Hi Kyle,

Thank you for your reply. That seems indeed correct, and there aren't any more errors after changing it this way, but when the email is sent, it doesn't contain the image.

Do you happen to have any ideas on why this could be?

Thank you.

Also, when I  try the 'preview' function, it tries to bring up the image, but it looks like this:



If the image is failing in preview and the email, it leads me to believe the path to the image isn't working. Are you certain that's the correct path? If you click that link do you see the image in your browser?


When accessing the link the image does not appear properly.

I tried with the full path and it looks like this when accessing the URL. 



I also attached an image with how the file looks on the server, to see the full path to it.




I also changed the owner and the group for the file to be root, the same as the other files.

The problem is still the same.

I observed that when trying the preview option or when accessing the URL for any default image existing there already, it works.

Any image that I manually add, does not work. I also restarted JIRA after adding one image and changing it to have the same bit depth,  group and root as the others.

any updates on this? any other solution?

Like Z B likes this

Hi, I have the same problem

Suggest an answer

Log in or Sign up to answer
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

72 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you