Opened 16 years ago

Last modified 16 years ago

#3150 closed defect

TicketWorkflowOpRunExternal does not work properly — at Version 2

Reported by: gmr@… Owned by: Eli Carter
Priority: normal Component: AdvancedTicketWorkflowPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Eli Carter)

Trac 0.11, AdvancedTicketWorkflowPlugin as of r3730 , Python 2.5.2

From trac.ini:

promotionneeded = stagingpassed -> promotionneeded
promotionneeded.name = Ready to promote to live, send request
promotionneeded.operations = run_external
promotionneeded.run_external = An email will be sent with the request.

My TRAC_ENV/hooks/promotionneeded script:

#!/bin/bash
touch /tmp/promotionneeded.ran
echo -e "Ticket #$1 is being requested for promotion to live by $2.\n\nhttp://trac.myurl.com/ticket/$1\n" | mail -s "Trac request to promote to live - Ticket # $1" gmr@myyearbook.com  

Script is executable and tested by hand.

No log entries show up at log level debug that this is firing or erroring out. I tried popping in your code prior to Ticket #3087 and it didn't work either.

Change History (2)

comment:1 Changed 16 years ago by anonymous

Owner: changed from Matt Good to Eli Carter

comment:2 Changed 16 years ago by Eli Carter

Component: AccountManagerPluginAdvancedTicketWorkflowPlugin
Description: modified (diff)

Correct the component.

Note: See TracTickets for help on using tickets.