Skip to content
New issue

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

<oslc_cm:message>Unknown attribute id: rtc_cm:type</oslc_cm:message> #119

Open
rumpumpel1 opened this issue Jun 25, 2019 · 1 comment
Open

Comments

@rumpumpel1
Copy link

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.

@gpongelli
Copy link
Collaborator

Hi,
I've tested it right now and the right way is myquerystr = 'dc:type="defect"'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants