Modify

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#11650 closed defect (wontfix)

new ticket method queryDetailed

Reported by: anonymous Owned by: osimons
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: olemis Trac Release:

Description

Hi,

For our use case we would like to be able to get full info about a set of tickets from a query (representing holiday requests), without having to make a request for each ticket id.

Patch attached.
Cheers
Shez

Attachments (1)

tracrpc.patch (1.4 KB) - added by shez@… 4 months ago.
Patch to add new rpc ticket.queryDetailed endpoint

Download all attachments as: .zip

Change History (5)

Changed 4 months ago by shez@…

Patch to add new rpc ticket.queryDetailed endpoint

comment:1 in reply to: ↑ description Changed 4 months ago by olemis

Replying to anonymous:

Hi,

Hi !
:)

For our use case we would like to be able to get full info about a set of tickets from a query (representing holiday requests), without having to make a request for each ticket id.

Your use case would be solved by issuing two RPC calls .

  1. ticket.query()
  2. system.multicall() wrapping signatures for multiple calls to ticket.get()

Should you need any help then I could provide you with a working example . IMHO this ticket should be resolved as wontfix .

@osimons : please feel free to do so on my behalf if you notice I take too long before doing so .

Patch attached.

Thanks , but in this cases there's no chance (afaict) for this to be committed .

comment:2 Changed 4 months ago by olemis

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

comment:3 Changed 4 months ago by anonymous

Hi,

Will your solution result in 100 GET requests if there are a hundred tickets matched?

I was assuming it would, which is very sub-optimal for us, hence my patch.

Cheers!
Shez

comment:4 Changed 4 months ago by anonymous

Apologies, with a little reading i see system.multicall should do the RPC calls internally on the server.

Cheers
Shez

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 osimons. 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.