There are two solutions on the wiki that either open parent or put a
comment on it. One solution triggers when any dependency is resolved,
another when all child tickets are resolved. It is there for ages.
Ruslan from phone.
04.06.2012 21:05 пользователь Jeff Blaine jbla...@kickflop.net написал:
On 6/5/2012 6:40 PM, Kenneth Crocker wrote:
Create a Template called Notify Parents on Resolve.
The Template should have code similar to this (loop thru all parents and
add the Emailaddress of the ticket owner to the To: line in the
Template) at the top (test the code to correct my mistakes):
Jeff,
Kool. Don't forget about the action being Notify Others so your override
takes effect.
thanks for the tip on my guide.
Kenn
On Wed, Jun 6, 2012 at 9:31 AM, Jeff Blaine jbla...@kickflop.net wrote:
On 6/5/2012 6:40 PM, Kenneth Crocker wrote:
Create a Template called Notify Parents on
That's a good start to work with.
Any leads on the proper way to go about sending mail via a template
from inside a scrip would be welcome.
Do I just subclass Action::SendEmail, build my message, and commit()
it? I don't see a way to reference/use a template for that.
Condition: On Resolve
On 06/05/2012 05:20 PM, Jeff Blaine wrote:
That's a good start to work with.
Any leads on the proper way to go about sending mail via a template
from inside a scrip would be welcome.
This is what scrips are meant to do at their core. ;)
Do I just subclass Action::SendEmail, build my
On 6/5/2012 5:29 PM, Thomas Sibley wrote:
Thanks Thomas
Think about it this way. Make your Condition custom On Resolve + Has
Parents
Right.
Then use a standard Notify* action and set the Template on the scrip.
The goal is: On resolve of a child ticket, notify *each parent
tickets'
Jeff,
OK. Here's what you do:
Create a Template called Notify Parents on Resolve.
The Template should have code similar to this (loop thru all parents and
add the Emailaddress of the ticket owner to the To: line in the Template)
at the top (test the code to correct my mistakes):
To: {my
Does anyone know of a way to notify the parent ticket's owner
on resolve?
Jeff,
Here's some code I developed for a 3.8 installation.
It will add TimeWorked to each parent of a ticket up the ladder and
sideways (if a ticket has more than one parent), regardless of how many.
Use it as an example of how to determine if there is a parent and then as a
condition to send a