Edgewall Software
Modify

Opened 20 years ago

Last modified 5 years ago

#217 new enhancement

XML-RPC/SOAP/etc. interface

Reported by: jon@… Owned by:
Priority: low Milestone: unscheduled
Component: general Version: 0.6
Severity: normal Keywords:
Cc: m@…, martin.marcher@…, lists@…, osimons Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It would be kinda nice to have an interface for Trac that would allow people to develop things like allowing tickets to be reported from within an application.

Attachments (0)

Change History (27)

comment:1 by rocky, 20 years ago

Xml-rpc should be fairly easy to accomplish. Preferably we would support both xml-rpc and SOAP/WSDL. Unfortunately, it seems that WSDL for python at this point seems to be rather immature.

comment:2 by cmontpetit@…, 20 years ago

Is there progress on this issue?

Is there a way to programatically interact with the Trac system using REST for example?

comment:3 by daniel, 20 years ago

Milestone: 0.9
Priority: normalhigh

I think we should at least have a minimal web-services API for 1.0.

comment:4 by daniel, 19 years ago

Milestone: 0.92.0
Priority: highlow

This is part of the 2.0 redesign process as well.

comment:5 by Steffen Pingel, 19 years ago

I would welcome an rpc inferface very much as it would make it possible to implement an interface to the issue tracker in Eclipse (as a plugin).

comment:6 by Christopher Lenz, 19 years ago

WikiRPC looks interesting as a generic XML-RPC based API for Wikis.

comment:7 by Matthew Good, 19 years ago

Owner: changed from Jonas Borgström to Matthew Good

This is something I'd like to look into.

comment:8 by coderanger, 18 years ago

Though still experimental, the XmlRpcPlugin over at trac-hacks is probably a good starting point for this. WikiRPC is implemented already, and I'm sure the ticket system could be setup for RPC manipulation.

comment:9 by anonymous, 18 years ago

Resolution: fixed
Status: newclosed

comment:10 by Markus Tacker <m@…>, 18 years ago

Cc: m@… added
Resolution: fixed
Status: closedreopened

Do not close tickets without a comment.

comment:11 by Alec Thomas, 18 years ago

The XmlRpcPlugin implements the WikiRPC API, thanks to mgood, and also exports an API for manipulating the ticket system. You can see the builtin methods here.

comment:12 by anonymous, 18 years ago

Type: defectenhancement

comment:13 by Matthew Good, 18 years ago

#3385 has been marked as a duplicate.

comment:14 by anonymous, 17 years ago

Cc: martin.marcher@… added

comment:15 by Christian Boos, 14 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:16 by pascal.seitz@…, 14 years ago

Any progress here? I would be very interested in an API

comment:17 by Christian Boos, 14 years ago

Milestone: triagingunscheduled

No, it's still unscheduled, which means the members of TracTeam have currently no interest in implementing it themselves, but they're not opposed either to someone else's contributions on the topic, provided there's a good rationale for it and a good quality patch.

comment:18 by Christian Boos, 14 years ago

Owner: Matthew Good removed
Status: reopenednew

… and I suppose Matt is not really interested in the noise here either ;-)

comment:19 by Thijs Triemstra <lists@…>, 13 years ago

Cc: lists@… added

The XML-RPC plugin now includes a pluggable API for extending protocols, and see for instance TracRpcProtocolsPlugin for more protocols.

comment:20 by dean.poulin@…, 13 years ago

it's amazing to see that as I could use this today, a ticket opened 7 years ago with no implementation is blocking me from simple interraction with Trac via web service. If you want an AWESOME example of the simple implementation of this please see: http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API

comment:21 by lkraav <leho@…>, 13 years ago

i am not sure what @dean.poulin is talking about, as th:XmlRpcPlugin works more than fabulously. as a matter of fact, i'm not sure why this ticket is still open. perhaps th:XmlRpcPlugin could be brought into tracopt and be done with it or something?

comment:22 by dean.poulin@…, 13 years ago

@lkraav - I'm just referring to the fact that people like simple APIs to program against, especially in the area of continuous integration/build process/release management. I run an API that gets millions of requests a day and if our API was complicated it wouldn't get used. Our team is specifically looking to trigger ticket resolutions via the build/release process.

I'm just recommending that Trac implement a simple API as Hudson has done (http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API) which is accessible via basic RESTful URLs to access data and trigger actions in a programmable fashion.

I'm a very satisfied Trac user of 4 years. I was just surprised that in order to access Trac data I have to install a third party plug-in… XmlRpc.

comment:23 by uwe.keim@…, 13 years ago

We are providing a small Trac interface within our Test Management tool Zeta Test.

If anyone is interested in the source code of the interface, just give me a quick note.

comment:24 by osimons, 12 years ago

Cc: osimons added

in reply to:  22 comment:25 by olemis, 11 years ago

Replying to dean.poulin@…:

@lkraav - I'm just referring to the fact that people like simple APIs to program against, especially in the area of continuous integration/build process/release management. I run an API that gets millions of requests a day and if our API was complicated it wouldn't get used. Our team is specifically looking to trigger ticket resolutions via the build/release process.

There's a Jenkins plugin for Trac .

I'm just recommending that Trac implement a simple API as Hudson has done (http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API) which is accessible via basic RESTful URLs to access data and trigger actions in a programmable fashion.

See trachacks:RestOnTracPlugin which is currently under development .

I'm a very satisfied Trac user of 4 years. I was just surprised that in order to access Trac data I have to install a third party plug-in… XmlRpc.

Because Trac is a minimalistic approach to …

comment:26 by anonymous, 11 years ago

It doesn't look like the RestOnTracPlugin is ever going to be completed.

comment:27 by anonymous, 5 years ago

Just stumbled upon this while looking for a way to access Trac and not having to parse using those <tr> and <td> tags.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.