taskadapter / redmine-java-api

Redmine Java API
Apache License 2.0
270 stars 163 forks source link

Custom queries management #304

Closed lpavone closed 6 years ago

lpavone commented 6 years ago

Hi all, sorry if this is a silly question but I haven't figured out if it is possible to create and save custom queries with filters. Am I wrong or am I missing something? I've seen the SavedQueryFactory allows creation but only passing an integer as parameter, so it seems to me this feature is not supported. Also, SavedQuery object does not accept any filters. I would like to create custom queries using filters like status or assignee. I'm already using the API which is awesome, simplified to me the management and saves time. Thanks in advance.

alexeyOnGitHub commented 6 years ago

there is "getSavedQueries()" method in IssueManager class, but no way to manage queries. it was not supported by Redmine at the time when the library was created, and is likely not supported now, although that is just my guess. you are welcome to implement this feature in the library in case Redmine supports this now

alexeyOnGitHub commented 6 years ago

I am closing this until someone decides to check and implement this