TicketWorkflowOpRunExternal does not work properly
|Reported by:||gmr@…||Owned by:||retracile|
Description (last modified by retracile)
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" email@example.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 (3)
comment:2 Changed 6 years ago by retracile
- Component changed from AccountManagerPlugin to AdvancedTicketWorkflowPlugin
- Description modified (diff)