-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18.12.2013 00:10, Ivanelson Nunes wrote: > I want to set a rule. Can only close the ticket if you write a comment. > > How do I do this? > > Trac-1.0
Write a mini-plugin using ITicketManipulator [1] interface, rejecting ticket changes going to ticket['status'] == 'closed' with empty ticket['comment']. Steffen Hoffmann [1] http://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.ticket.api.ITicketManipulator -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlKxkj8ACgkQ31DJeiZFuHdSawCg2e8gr4HCPr60J2/FLDKTcdd3 3nkAnjjwcE1WB5rD/1MutmfPaFw9CkiX =Skc1 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
