On Jan 20, 12:44 am, Craig A <[email protected]> wrote:
> >> So what is supposed to go in the action entry
>
> One of the options retrieved by getActions API call. If you don't feel
> like asking what those are, you could just pass in 'leave' and the
> workflow will be left alone

There is no guarantee that the 'leave' state is available. It is just
another state in the trac.ini [ticket-workflow] configuration, and all
though it is part of the default workflow there is really nothing
special about it. More rigid workflows may in certain cases demand
that a state change for actions in certain states, or by certain
users. The state may not even be called 'leave' in a custom workflow.

So, use ticket.getActions(<ticketid>) for any updates.

Anyway, thanks for helping out by answering - it was not my intention
to nit-pick, I'm just trying to communicate insight into how Trac,
workflows and RPC actually works. Not everything is obvious in
there... :-)


:::simon

-- 
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.

Reply via email to