[wp-meta] [Making WordPress.org] #762: Themes trac: Magic button to automatically assign reviewers the next available ticket (theme) to review if they don't already have a ticket
Making WordPress.org
noreply at wordpress.org
Sat Dec 6 21:47:00 UTC 2014
#762: Themes trac: Magic button to automatically assign reviewers the next
available ticket (theme) to review if they don't already have a ticket
---------------------------+----------------------
Reporter: samuelsidler | Owner: al_the_x
Type: enhancement | Status: assigned
Priority: high | Component: Trac
Resolution: | Keywords:
---------------------------+----------------------
Comment (by Otto42):
Also, we already have a relatively small PHP library that has the ability
to create and update theme tickets, via XML-RPC, in place.
Having themetracbot update a ticket to change the owner field is just a
few lines of code. The only hard part is working out all the logic. Assume
that you can call `$themes_trac->ticket_update()` with a few parameters
and have it just do it. Because, well, you can.
From the library:
`function ticket_update( $id, $comment, $attr = array(), $notify = false
)`
Setting the 'owner' in the $attr array would set who it's assigned to.
There's also `ticket_query` to do searches, and `ticket_get` to get
tickets by ID number.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/762#comment:9>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list