What is the OSLC query syntax for multiple types and states
I am trying to query for multiple types and states.
my @rtcQueryResult = @{queryRTC($rtcUA,$baseURI_Jazz_CM,$rtcProjectContextId, 'oslc.where=rtc_cm:type in [com.ibm.team.apt.workItemType.epic","feature","com,ibm.team.workitemtype.epic6"]&oslc.select=dcterms:identifier,dcterms:type, dcterms:Title, cterms:mdified,rtc_cmstate')};
The above query statement gives me all three work Item types but I need to get the New state for each of those types
The statement below gives me 1 work item type and the state
my @rtcQueryResult = @{queryRTC($rtcUA,$baseURI_Jazz_CM,$rtcProjectContextId, 'oslc.where=rtc_cm:type =("com.ibm.team.apt.workItemType.epic" and rtc_cm:state= "com.ibm.team.apt.epic.workflow.state.s1"&oslc.select=dcterms:identifier,dcterms:type, dcterms:Title, cterms:mdified,rtc_cmstate')};
Does anyone know the query statement to query for multiple types and states in one query statement. I need to get the type and the New state for each workitem?