Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

293 views 5 14
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