Coder Social home page Coder Social logo

Comments (3)

maxtepkeev avatar maxtepkeev commented on July 27, 2024

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.

chevi avatar chevi commented on July 27, 2024

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.

maxtepkeev avatar maxtepkeev commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.