Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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

0 votes


Be the first one to answer this question!

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Aug 08 '18, 9:06 a.m.

Question was seen: 785 times

Last updated: Aug 08 '18, 9:06 a.m.

Confirmation Cancel Confirm