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,294,501
Community Members
 
Community Events
165
Community Groups

Get files, attached from JSD Portal

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

261 views 0 6
Join discussion

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