Get attachment data from comment

Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2025

Hi!

 

Do you know a way how to get aattachment data that is add to a comment? Today I found that adding attachment to a comment don't start Field  change value trigger set for attachment field. Now I'm looking a way how I can cover this scenario. Any thoughts?

 

Regards,

Seba

2 answers

1 accepted

2 votes
Answer accepted
Pasam Venkateshwarrao
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 Leaders.
March 5, 2025

Hi @Sebastian Krzewiński 

Yes this can be possible through automation, iam using same automation rule it works for me

Screenshot 2025-03-05 at 3.37.58 PM.png

 

smart value:{{issue.comments}}

 

 

Screenshot 2025-03-05 at 3.40.41 PM.png

 

 

Hope this helps

Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2025

Thanks!

Pasam Venkateshwarrao
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 Leaders.
March 6, 2025

@Sebastian Krzewiński if it helps to you can you hit accept answer so that other can reach and it will help to others those who needs this automation.

1 vote
Gerusa Lobo _e-Core_
Atlassian Partner
March 5, 2025

Hi @Sebastian Krzewiński 

To comments there are two triggers that you can be use: comment.update and comment.created.

You can use them to get the attachments data in the comment. 

But, if the attachment will be insert in issue outside comment, you could use:

  • Trigger: Field value changed 
  • Fields to monitor for changes: Attachment.

As indicated on:

https://community.atlassian.com/t5/Jira-Service-Management/Automation-project-Request-trigger-Files-attachment/qaq-p/1399403

Hope this helps.

Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2025

I found that in some cases Field value changed don't work correctly - https://jira.atlassian.com/browse/AUTO-382

Suggest an answer

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

Atlassian Community Events