Documentation POST Data for a ticket

26 views
Skip to first unread message

Markus Rosjat

unread,
Feb 17, 2022, 5:32:17 AMFeb 17
to trac-...@googlegroups.com
Hi all,

is there a documentation about the parameters to send to trac to create, delete, edit a ticket?
I was thinking of using a script to send data to my trac system form outside trac. So for example i build the query with requests and send it to my trac system so i dont need to go into trac and do it by hand in the ticket interface.

hope i could describe it in a way someone catches my drift here.

Cheers 

Markus

Jun Omae

unread,
Feb 17, 2022, 6:06:29 AMFeb 17
to trac-...@googlegroups.com
On Thu, Feb 17, 2022 at 7:32 PM Markus Rosjat <markus...@gmail.com> wrote:
> is there a documentation about the parameters to send to trac to create, delete, edit a ticket?
> I was thinking of using a script to send data to my trac system form outside trac. So for example i build the query with requests and send it to my trac system so i dont need to go into trac and do it by hand in the ticket interface.

Such requests from outside is blocked by CSRF protection.
Instead, try ticket.update API using xmlrpcplugin,
https://trac-hacks.org/wiki/XmlRpcPlugin.

--
Jun Omae <jun...@gmail.com> (大前 潤)

Markus Rosjat

unread,
Feb 17, 2022, 6:58:45 AMFeb 17
to trac-...@googlegroups.com
Hi there,

ok thought there was an easy way but anyway thanks for the pointer i will check it out.

cheers

Markus

--
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 trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMahjWZE-r7NJCEbfuP7OOWDMyo550GND_atfXnQ%2BRmFYAw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages