id summary reporter owner description type status priority component severity resolution keywords cc release 4086 Attachment not found, Macro not evaluated alexander@… Martin Scharrer "Hi there, when I put this in my custom field of the ticket (which accepts Wiki-formatting, e.g. ![raw-attachment:file.pdf] works without problems] I get the result displayed as [[AttachmentNum(...)]. When I put it in the description field I get a ""Attachment not found"" error, although there is an attachment. When I let it display the type and ID used in the SQL query the type is ticket, which seems ok, but the ID is ""Ticket #8"", which is probably not ok, most likely this should be just ""8""? Sorry, I would fix this myself, but I have no clue about python neither about the necessary functions in trac (get_resource_id maybe?) Thanks and best, ALEXander." defect closed normal AttachmentNumMacro blocker fixed 0.11