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
