문제

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