Forums

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

Is it possible to attach attachments to a Jira Comment in JSM to user?

Calvin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 24, 2026

We have an automation comment that provides information and a image, but for the life of me I can't figure out how to attach images to a comment via automation without just linking to an externally held URL.

I started attempting to use the new Customized Email feature as it allows attachments to try to email itself with an attachment before I figured might be best if I just stopped and asked.

Is the only way an outside external URL? Or potentially a "Maintenance Ticket" that just contains the attachment list?

Cheers

2 answers

2 accepted

8 votes
Answer accepted
Trudy Claspill
Community Champion
May 24, 2026

Hello @Calvin 

Is the file already attached to the work item prior to creation of the comment? It might be possible to include an attachment that is already on the work item.

If not, automation doesn't currently support adding a new attachment to a work item.

It isn't possible to upload an attachment during an automation because the automation is running in the cloud and cannot access a physical device where the file is located.

It isn't possible through the API to add an attachment referencing a file by URL on the Internet either.

Calvin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 25, 2026

Thanks Trudy unfortunately not attached prior, and appreciate you confirming its not super possible.

I don't know if useful for anyone but workaround I'm using at the moment is by adding !imgLink.png! to the comment in automation, and hosting the image on a confluence page and it seems to work, I'm not sure if thats because automation for jira has access to confluence. But this way seems to create the comment and pull the attachment into the ticket.

Not ideal though, but cheers!

Like Susan Waldrip likes this
3 votes
Answer accepted
Ajay _view26_
Community Champion
May 24, 2026

Hi @Calvin 

As mentioned by @Trudy Claspill Jira automation's "Add comment" action does not natively support file attachments. 

If you need something more dynamic (e.g., generating images on-the-fly per issue), a lightweight Forge app can handle the attachment via the REST API (POST /rest/api/3/issue/{issueIdOrKey}/attachments) and then add a comment referencing it. Overkill for most use cases, but it's the fully programmatic path.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events