Modify

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#648 closed defect (fixed)

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

Reported by: steffenp@… Owned by: athomas
Priority: low Component: XmlRpcPlugin
Severity: normal Keywords: Query Synchronization failed
Cc: relves@… Trac Release: 0.10

Description (last modified by stp)

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 steffenp@… 8 years ago.
additional api calls
xmlrpc-changed-since-and-ticket-actions-1175.4.patch (2.0 KB) - added by steffenp@… 8 years ago.
fixed getAvailableActions() call

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by steffenp@…

additional api calls

comment:1 Changed 8 years ago by anonymous

  • Cc relves@… added

Changed 8 years ago by steffenp@…

fixed getAvailableActions() call

comment:2 Changed 8 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

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 7 years ago by care

  • Keywords Query Synchronization failed added
  • Resolution fixed deleted
  • Status changed from closed to reopened

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@…

comment:4 follow-up: Changed 7 years ago by care

  • Priority changed from normal to low

comment:5 Changed 7 years ago by stp

  • Description modified (diff)

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

comment:6 Changed 7 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

comment:7 in reply to: ↑ 4 Changed 7 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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.