سؤال

I've used the following QueryFilter to get the List of projects, but it never displays Closed projects only Open projects

 projectRequest.setQueryFilter((new QueryFilter("Name", "contains", "DT-").or(new     QueryFilter("Name", "contains", "UX-")).or(new QueryFilter("Name", "contains", "RT-")).or(new QueryFilter("State", "=", "Closed")))

I even added

  .or(new QueryFilter("State", "=", "Open"))

But the result didn't change?

Could you please help me?

Thanks

Sree

هل كانت مفيدة؟

المحلول

WS API does not return closed projects by design. There was a performance optimization made a couple of years ago that limited queries to open projects.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top