ClearQuest Choice list values through OSLC API
Hi,
I am trying to access ClearQuest programmatically. I am trying to retrieve choice list values using OSLC API. I read the documentation and I was able to get the values if the choice list is a CONSTANT choice list but if values of the choice list field, lets call this field Field2, vary depending upon the value selected in other choice list field, lets call it Field1, it is returning an empty list. How can I get the choice list values for Field2? Do I need to send the value selected for Field1 to get the choice list values for Field2, if that is the case how do I do that? Or is there another way to get this information?
Thank you!!
I am trying to access ClearQuest programmatically. I am trying to retrieve choice list values using OSLC API. I read the documentation and I was able to get the values if the choice list is a CONSTANT choice list but if values of the choice list field, lets call this field Field2, vary depending upon the value selected in other choice list field, lets call it Field1, it is returning an empty list. How can I get the choice list values for Field2? Do I need to send the value selected for Field1 to get the choice list values for Field2, if that is the case how do I do that? Or is there another way to get this information?
Thank you!!
Comments
Mathieu Defianas
Nov 25 '15, 10:27 a.m.Hello Ana,
Have you got a feedback about your question ?
I have the same issue ;-(
On my case, Owner depends of Project
I have tested these urls without success :
http://myServer/cqweb/oslc/repo/REPO/db/DB/record-type/RECORDTYPE_ID/choice-list/?oslc_cm.properties=Owner&oslc.where=cq:Project=PROJECT_NAME
http://myServer/cqweb/oslc/repo/REPO/db/DB/record-type/RECORDTYPE_ID/choice-list/?oslc_cm.properties=Owner&oslc.where=cq:Project=<http://myServer/cqweb/oslc/repo/REPO/db/DB/record/PROJECT_ID>
http://myServer/cqweb/oslc/repo/REPO/db/DB/record-type/RECORDTYPE_ID/choice-list/?oslc_cm.properties=Owner&oslc.where=Project=PROJECT_NAME
http://myServer/cqweb/oslc/repo/REPO/db/DB/record-type/RECORDTYPE_ID/choice-list/?oslc_cm.properties=Owner&oslc.where=Project=<http://myServer/cqweb/oslc/repo/REPO/db/DB/record/PROJECT_ID>