It's all about the answers!

Ask a question

CCM rest API: How to make a query with multiple filters?


ilian lelarge (111) | asked Aug 08 '18, 9:06 a.m.

Hi,

i am currently trying to get wokItems from a specific project filtered by different status. For exemple i want the workitems in the project 1 that are closed or resolved.

For this i am making this query:

https://<localhost>/ccm/rpt/repository/workitem?fields=workitem/workItem[projectArea/name="project1" and state/id=de.ohb.team.workitem.workflow.task.1.state.s4 or state/id=de.ohb.team.workitem.workflow.task.1.state.s3]/(summary|id|severity/name|state/name|state/id|priority/name|itemHistory/modified|itemHistory/priority/|itemHistory/severity/|itemHistory/state/*)

I think the issue is that this query will give me results that are like this:
workItems from project1 that have the statu 4
OR
workItems that have the statu 3

Can you please tell me what i am doing wrong ?
Thank you

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.