We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my environment is python-3.6 and RTC 6.0.6
I'm trying to run the example script:
from rtcclient.utils import setup_basic_logging from rtcclient import RTCClient url = "https://cmis-rtc.de.xxxxx.com:9443/ccm" username = "XXXXX" password = "XXXXX" myclient = RTCClient(url, username, password, ends_with_jazz=False) myquery = myclient.query projectarea_name = "Tooling Support" myquerystr = 'rtc_cm:type="defect"' #myquerystr = 'oslc_cm:status="Rejected"' #myquerystr = 'dcterms:type="Issue"' #myquerystr = 'oslc_cm:inprogress="true"' returned_prop = "dc:title,dc:identifier,rtc_cm:state" queried_wis = myquery.queryWorkitems(query_str=myquerystr, projectarea_name=projectarea_name, returned_properties=returned_prop)
whatever I us for myquerystr, the result is always: <oslc_cm:message>Unknown attribute id: xxxx:xxxx</oslc_cm:message>
any help appreciated.
The text was updated successfully, but these errors were encountered:
Hi, I've tested it right now and the right way is myquerystr = 'dc:type="defect"'
myquerystr = 'dc:type="defect"'
Sorry, something went wrong.
No branches or pull requests
my environment is python-3.6 and RTC 6.0.6
I'm trying to run the example script:
from rtcclient.utils import setup_basic_logging
from rtcclient import RTCClient
url = "https://cmis-rtc.de.xxxxx.com:9443/ccm"
username = "XXXXX"
password = "XXXXX"
myclient = RTCClient(url, username, password, ends_with_jazz=False)
myquery = myclient.query
projectarea_name = "Tooling Support"
myquerystr = 'rtc_cm:type="defect"'
#myquerystr = 'oslc_cm:status="Rejected"'
#myquerystr = 'dcterms:type="Issue"'
#myquerystr = 'oslc_cm:inprogress="true"'
returned_prop = "dc:title,dc:identifier,rtc_cm:state"
queried_wis = myquery.queryWorkitems(query_str=myquerystr, projectarea_name=projectarea_name, returned_properties=returned_prop)
whatever I us for myquerystr, the result is always:
<oslc_cm:message>Unknown attribute id: xxxx:xxxx</oslc_cm:message>
any help appreciated.
The text was updated successfully, but these errors were encountered: