Query

class rtcclient.query.Query(rtc_obj)[source]

A wrapped class to perform all query-related actions

Parameters:rtc_obj – a reference to the rtcclient.client.RTCClient object
queryWorkitems(query_str, projectarea_id=None, projectarea_name=None, returned_properties=None, archived=False)[source]

Query workitems with the query string in a certain rtcclient.project_area.ProjectArea

At least either of projectarea_id and projectarea_name is given

Parameters:
Returns:

a list that contains the queried rtcclient.workitem.Workitem objects

Return type:

list