Forums

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

Attach attached files from issue to transition Screen

Dominykas Šmičius November 18, 2020

Hi, I have made a transition to send mail with groovy, but I want to choose which files to attach to mail. How to attach attached files in a issue to the send screen and allow to select which files to send.

 

Simple code not working 

def attachments = attachmentManager.getAttachments(issue)
attachments.each { attachment ->
getFieldById("attachment").setFormValue(attachment)
}

 

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer