Ken, I'm interresting for the code you've mentioned. Could you or somebody else write me here that code or some similar, which will steal the attachment from last comment and then I can use it in Resolve template, so the Attachments which were put into ticket under Resolved phase will be available in the email from Resolved Template ?
Ken Crocker wrote: > > Kevin, > > Correct. In fact, I put replied to an email like this awhile back with > some code we wrote for a new Resolve template that includes code to > include the last comment in the Email body. > > Kenn > LBNL > > On 8/6/2009 9:46 AM, Kevin Falcone wrote: >> On Sat, Aug 01, 2009 at 12:38:04AM -0700, Miroslav Horvath wrote: >> >>> gyus, you've started the discussion about something else. >>> >>> I've noticed, that in the Resolve email the attachments are not sent >>> out. >>> For example: >>> >>> I'm working on some ticket, and found some solution for the issue, that >>> some >>> .EXE patch must be applied. So I go to ticket, click on RESOLVE and put >>> into >>> attachment that .EXE patch file. And will write, that issue was resolved >>> and >>> the user must apply locally the patch which is attached in the >>> resolution >>> email. >>> >>> But in the resolution email which user received the attachment wasn't. >>> Is >>> there some workaround how to have attachment in it ? >>> >> >> Miroslav >> >> The 'On Resolve' Scrip runs as a separate transaction, it runs during >> the resolve, not during the comment, so there are no attachments to >> send. You either need to steal some of the code linked from previous >> posts to look for the previous transaction's attachments or disable >> this script and change RT to send Correspondence rather than Comments >> when a ticket is resolved, and then RT-Attach will work >> >> -kevin >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sa...@bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- View this message in context: http://www.nabble.com/Re%3A-Attachments-missing-in-RESOLVE-email-tp24739982p25221025.html Sent from the Request Tracker - User mailing list archive at Nabble.com. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com