The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Get files, attached from JSD Portal

Saida
Contributor
February 22, 2018

Hi there, 

I need a listener, which will clone all attachments from a Service Desk to a Software project. 

I wrote the one, but during testing we have found that the listener doesnt work if attachment is added in comment from the customer portal. 

I have configured the custom script listener on Issue Commented, Issue Updated Event, but

event.getChangeLog() returns nothing 

event.getComment() returns com.atlassian.jira.issue.comments.CommentImpl, 

and there is no any methods in CommentImpl to get the file attached. 

Also, system doesnt fire Issue Updated event when adds attached files to the issue. 

How can I solve this issue for JIRA Service Desk 3.10.0?

ScriptRunner version:    5.3.5

Thank you 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events