Vote #67472
完了Custom Queries available through the REST Api
0%
journals
+1. my application also requires retrieval of available "custom queries" from Redmine.
--------------------------------------------------------------------------------
+1 need this one.
--------------------------------------------------------------------------------
What are you asking for here, to be able to *run* a custom query from the API? (giving you a list of issues) Or to be able to *edit/create* custom queries from the API?
--------------------------------------------------------------------------------
what I need (and my guess is that's what the submitter meant too) is to get list of user's saved queries.
this is Redmine config page in my application:
!query_id.PNG!
I don't want to force users to go to Redmine web interface and look for "query ID". it would be much better to have "load queries" button, which would get list of queries from Redmine server and show them in combobox.
--------------------------------------------------------------------------------
Alexey Skor wrote:
> what I need (and my guess is that's what the submitter meant too) is to get list of user's saved queries.
> this is Redmine config page in my application:
> !query_id.PNG!
> I don't want to force users to go to Redmine web interface and look for "query ID". it would be much better to have "load queries" button, which would get list of queries from Redmine server and show them in combobox.
My request is about being able to retrieve the list of saved queries and to run a selected one.
--------------------------------------------------------------------------------
Eric Davis wrote:
> What are you asking for here, to be able to *run* a custom query from the API? (giving you a list of issues) Or to be able to *edit/create* custom queries from the API?
My request is about being able to retrieve the list of saved queries and to run a selected one.
--------------------------------------------------------------------------------
Any chance to have this implemented in Redmine 1.1.0?
--------------------------------------------------------------------------------
Jean-Philippe, I hope you don't consider this too impolite if I take the courage to reassign this task to you. This looks like an easy thing to implement and it would help me a lot.
In few words: I just need to load a list of saved queries from Redmine server (even "query name" and "id" is enough at this moment).
I don't see another way for my users to see which "saved queries" are available in their Redmine.
--------------------------------------------------------------------------------
+1 for this feature
--------------------------------------------------------------------------------
Committed in r6186, try GET /queries.xml (see [[Rest_Queries]]).
--------------------------------------------------------------------------------
I added support to Redmine Java API: https://code.google.com/p/redmine-java-api/issues/detail?id=55
--------------------------------------------------------------------------------
the API works fine for me. thanks!
--------------------------------------------------------------------------------