python-redmine icon indicating copy to clipboard operation
python-redmine copied to clipboard

Support custom field filter on Project

Open fsoedjede opened this issue 1 year ago • 1 comments

Hello,

Thanks for this package. Is there a way to filter projects which has a specific custom field?

With the api, I would do it with:

  • https://redmine.url/projects.json?cf_3=* for all project which has the custom field value set
  • https://redmine.url/projects.json?cf_3=fr for projects where custom field value is fr Tested on Redmine 4.2.2

3 being the id of the custom field.

Q: I did not dig everythere in the code but would it be something you could consider implementing?

Regards


Related issues in Redmine project which talk about it:

  • https://www.redmine.org/issues/26422
  • https://www.redmine.org/issues/22966

It's not documented in https://www.redmine.org/projects/redmine/wiki/Rest_Projects but it works.

fsoedjede avatar Oct 11 '24 19:10 fsoedjede

Hi @fsoedjede

Thanks for letting know that this feature works, I've tried that myself a few years ago and it didn't work for me, now I've retested and it really works.

I will try to implement it ASAP.

maxtepkeev avatar Oct 14 '24 06:10 maxtepkeev