Comments (3)
Sorry, can't reproduce your problem, e.g.:
issues = redmine.issue.filter(cf_10='foo', cf_15='bar')
works perfectly for me and returnes the issues that I'm expecting. Please try to make a raw query via browser to your Redmine application, i.e.:
http://your-redmine-url/issues.json?status_id=o&tracker_id=5&cf_20=Major&cf_38=Broken
if that works, it should work with Python Redmine too:
issues = server.issue.filter(status_id='o', tracker_id='5', cf_20='Major', cf_38='Broken')
from python-redmine.
Thank you for reply
I tried raw query, but it doesn't work
http://myredmine/projects/sl61/issues?set_filter=1&f[]=status_id&op[status_id]=o&f[]=tracker_id&op[tracker_id]=%3D&v[tracker_id][]=5&f[]=cf_38&op[cf_38]=%3D&v[cf_38][]=Broken&f[]=cf_20&op[cf_20]=%3D&v[cf_20][]=Critical&f[]=&c[]=tracker&c[]=status&c[]=priority&c[]=subject&c[]=assigned_to&c[]=category&c[]=cf_4&c[]=cf_20&c[]=author&c[]=cf_38&group_by=cf_38
Result is 0 issues
When I try raw
http://myredmine/issues.json?status_id=o&tracker_id=5&cf_20=Major&cf_38=Critical
I got all issues without filtering by cf_38=Critical
I know that reason isn't in python-redmine, but is somewhere in redmine.
Thanks, for your time
from python-redmine.
Yes, unfortunately it seems that it's the problem with the Redmine itself. I'm using 2.3.3 version here and don't have such a problem. Probably you should consider upgrading your Redmine version if possible and everything will work.
from python-redmine.
Related Issues (20)
- tags from task HOT 2
- check the existence of a task HOT 1
- Copy project HOT 2
- Is it possible to integrate a "geojson" parameter in issue creation? HOT 2
- KeyError: 'time_entry' HOT 3
- Cant Set priority_id HOT 5
- When adding a user to a group that they are already a member of get "User is invalid" HOT 2
- How to: Create Issue onbehalf of another user HOT 4
- Bug: User does not return status HOT 3
- Bug: Users.all() does not return all users HOT 4
- When querying resources, why is there a default_includes HOT 2
- Leaks API key on exception HOT 2
- Filter by application subject HOT 2
- BytesIO is not JSON serializable HOT 4
- ResourceNotFoundError: Requested resource doesn't exist HOT 2
- Get Request - ResourceNotFoundError: Requested resource doesn't exist HOT 2
- filter error HOT 2
- ???????? for Russian text HOT 6
- adding custom fields to project HOT 2
- Get member users from project_membership HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-redmine.