getAllAttachments (redirect)

Looking for a getAllAttachments() function? You won’t find it because there isn’t any. Instead, all the attachments for an issue can be retrieved using the ‘attachments’ standard variable. Examples on how to use this variable can be found below.

 

Example 1

return attachments;

Example 2

string [] allAttachments = attachments; for(string a in allAttachments) { runnerLog(a); }