id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
8962,[PATCH] root=self option to automatically refer to current ticket when used within a ticket,bof,ChrisNelson,This patch enables a special value for the {{{root=ID}}} macro option_\r\nwritten as {{{root=self}}}. It can be used (and only makes sense) when the macro is embedded within a ticket_ e.g. in the description of the parent of a tree of child/sub tickets.\r\n\r\nUsing {{{root=self}}} automatically determines the ticket ID of the current ticket by looking at the URL path_info (numeric stuff after /ticket/)_ and then uses that as the single root for the display.\r\n\r\nWhile it is possibly for users with TICKET_EDIT_DESCRIPTION permission to edit the description after ticket creation_ when they know the ticket ID_ that is not the case for some users. This patch helps that situation_ as the macro can be put into the description during ticket creation.\r\n\r\nAlso_ when using clone_ or other kinds of description-inheriting other-ticket creation_ a description-embedded gantt macro call with {{{root=self}}} will continue to work_ without having to adapt the {{{root=ID}}} to the newly created ticket.\r\n\r\nThe patch is patterned after a patch I did for ProgressMeterMacro_ for the same reasons - see #8917\r\n,enhancement,closed,normal,TracJsGanttPlugin,normal,fixed,,,0.11
