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

How to query workitems using status filter in EWM using OSLC API?

Querying RTC based  on status value of the workitem like "New","Open","Closed",the query always returns 0 results

Does anyone have an idea about how to form a RTC query based on the status attribute?


This  is the query I used

Many thanks in advance for your answers

0 votes

Comments

The status attribute is like any other attributes. It is just a string.

<oslc_cm:status rdf:datatype="http://www.w3.org/2001/XMLSchema#string">New</oslc_cm:status>


This pseudo code should show the where statement:

whereTerm2='&'+ where + '='+'oslc_cm:status='+comm.urlEncode(f"\"{state}\"")


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
× 7,489
× 1,318

Question asked: Jan 16, 12:44 a.m.

Question was seen: 343 times

Last updated: Jan 16, 3:19 a.m.

Confirmation Cancel Confirm