Project

General

Profile

Actions

Feature #5737

closed

Custom Queries available through the REST Api

Added by Paolo Freuli over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
2010-06-23
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

It would be nice to have custom queries available via Rest Api.


Files

query_id.PNG (13.7 KB) query_id.PNG Alex Last, 2010-08-26 03:30
Actions #1

Updated by Alex Last over 14 years ago

+1. my application also requires retrieval of available "custom queries" from Redmine.

Actions #2

Updated by Gao Yong Pan over 14 years ago

+1 need this one.

Actions #3

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?

Actions #4

Updated by Alex Last about 14 years ago

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.

Actions #5

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.

Actions #6

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.

Actions #7

Updated by Alex Last almost 14 years ago

Any chance to have this implemented in Redmine 1.1.0?

Actions #8

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.

Actions #9

Updated by RedminePro Yang over 13 years ago

+1 for this feature

Actions #10

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

Actions #11

Updated by Alex Last over 13 years ago

Actions #12

Updated by Alex Last over 13 years ago

the API works fine for me. thanks!

Actions

Also available in: Atom PDF