Feature #5737
closedCustom Queries available through the REST Api
0%
Description
It would be nice to have custom queries available via Rest Api.
Files
Updated by Alex Last over 14 years ago
+1. my application also requires retrieval of available "custom queries" from Redmine.
Updated by Eric Davis about 14 years ago
- Priority changed from High to Normal
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?
Updated by Alex Last about 14 years ago
- File query_id.PNG query_id.PNG added
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:
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.
Updated by Paolo Freuli about 14 years ago
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:
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.
Updated by Paolo Freuli about 14 years ago
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.
Updated by Alex Last almost 14 years ago
Any chance to have this implemented in Redmine 1.1.0?
Updated by Alex Last almost 14 years ago
- Assignee set to Jean-Philippe Lang
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.
Updated by Jean-Philippe Lang over 13 years ago
- Subject changed from Custom Query available in Rest Api to Custom Queries available through the REST Api
- Status changed from New to Closed
- Target version set to 1.3.0
- Resolution set to Fixed
Committed in r6186, try GET /queries.xml (see Rest_Queries).
Updated by Alex Last over 13 years ago
I added support to Redmine Java API: https://code.google.com/p/redmine-java-api/issues/detail?id=55