Modify

Opened 18 years ago

Closed 17 years ago

Last modified 10 years ago

#648 closed defect (fixed)

[patch] enhance api: ticket.getRecentChanges() and ticket.getAvailableActions()

Reported by: Steffen Pingel Owned by: Alec Thomas
Priority: low Component: XmlRpcPlugin
Severity: normal Keywords: Query Synchronization failed
Cc: relves@… Trac Release: 0.10

Description (last modified by Steffen Pingel)

Recent feature enhancements for the Mylar Trac connector require additional API calls. It would be great if these could be added (see patch):

  • getRecentChanges(): Returns a list of IDs of tickets that have changed since timestamp.
  • getAvailableActions(): Returns the actions that can be performed on the ticket.

Attachments (2)

xmlrpc-changed-since-and-ticket-actions-1175.3.patch (1.7 KB) - added by Steffen Pingel 18 years ago.
additional api calls
xmlrpc-changed-since-and-ticket-actions-1175.4.patch (2.0 KB) - added by Steffen Pingel 18 years ago.
fixed getAvailableActions() call

Download all attachments as: .zip

Change History (9)

Changed 18 years ago by Steffen Pingel

additional api calls

comment:1 Changed 18 years ago by anonymous

Cc: relves@… added; anonymous removed

Changed 18 years ago by Steffen Pingel

fixed getAvailableActions() call

comment:2 Changed 18 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

Steffen, I've applied most of this patch in r1188. Also changed the Wiki attachment API slightly, which might require some client-side changes.

comment:3 Changed 17 years ago by care

Keywords: Query Synchronization failed added
Resolution: fixed
Status: closedreopened

when i syncchronize trac query,it error

title: "Query Synchronization failed"
msg: "'mktime argument out of range' while executing 'ticket.getRecentChanges()'"
+++++++++++++++++++
Eclipse Platform

Version: 3.3.0
Build id: I20070621-1340
--------
Mylyn Connector: TRAC 2.0.0.v20070627 - 1400
--------
Mylyn Bridge:Eclipse IDE 2.0.0.v20070627 - 1400
--------
Mylyn Bridge:Eclipse SDK 2.0.0.v20070627 - 1400
--------
Mylyn Bridge:Java Development 2.0.0.v20070628 - 1000
--------

++++++++++++++++++++++
location Thailand
server: http://mylyn.eclipse.org/tractest
access type: xml-rpc plugin(rev. 1950)
++++++++++++++++++++++

please reply to rts@mail.xsidekick.com
Last edited 10 years ago by Ryan J Ollos (previous) (diff)

comment:4 Changed 17 years ago by care

Priority: normallow

comment:5 Changed 17 years ago by Steffen Pingel

Description: modified (diff)

Please file a bug against the Mylyn project at https://bugs.eclipse.org/bugs/.

comment:6 Changed 17 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

comment:7 in reply to:  4 Changed 17 years ago by anonymous

Replying to care:

I've met with the same problem as you reported, which I have submitted as an Eclipse Bug(https://bugs.eclipse.org/bugs/show_bug.cgi?id=197610).

I solved it for myself anyway, maybe it will give a hint.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.