@spencer accept = new,assigned,accepted,reopened -> accepted accept.operations = set_owner accept.permissions = TICKET_MODIFY
what it means that, "accept" action is possible if the current state of the ticket is either new, assigned,accepted, or reopened. if you choose, "accept" action, the next stated should be accepted. Just change your new state to "accepted" instead of "assigned". Also add other valid states aside from new. See example above. ________________________________ From: spencer <[email protected]> To: Trac Users <[email protected]> Sent: Wednesday, June 9, 2010 12:54:21 PM Subject: [Trac] Re: Enterprise workflow: after accepting ticket I can't close the ticket Using the enterprise workflow I referred to and your link, the resulting diagram had no mention of accept. Was this just something that got overlooked? So I took this... (is this Python?) assign = new -> assigned assign.operations = set_owner assign.permissions = TICKET_MODIFY ...and not knowing exactly what the above meant, I added an attempt of my own (w/o line numbers): ; accept 1. accept = new -> assigned 2. accept.operations = set_owner 3. accept.permissions = TICKET_MODIFY Are these line interpretations correct? 1. accept action takes you from new state to assigned state 2. accepting calls the set_owner procedure (set_owner assumes current user??) 3. accepting requires modify permissions Does that look like what I would want accept to do (is this valid)? The new diagram has an accept arrow from new to assigned. I appreciate your help, thanks spencer On Jun 8, 8:07 pm, mark ardiente <[email protected]> wrote: > Try to paste the configuration for your ticket-workflow > here:http://foss.wush.net/cgi-bin/visual-workflow.pl > > You'll see where the next status will be. > > ________________________________ > From: spencer <[email protected]> > To: Trac Users <[email protected]> > Sent: Wednesday, June 9, 2010 3:22:42 AM > Subject: [Trac] Enterprise workflow: after accepting ticket I can't close the > ticket > > I started using enterprise-workflow.ini: > > http://trac.edgewall.org/browser/trunk/contrib/workflow/enterprise-wo... > > After I accept a ticket, my Action section has these two options: > - leave as accepted > - accept (Next status will be 'accepted') > > Selecting either one results in the same available options after > submitting changes. Is there a way to get it to where I can close the > ticket? Is this a bug in the workflow? I'm pretty new to Trac. > > thanks > spencer > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
