It's all about the answers!

Ask a question

Issue with getting all items from FoundIn field during OSLC defect creation


Ivaylo Kubratov (152) | asked Jun 11 '21, 9:20 a.m.

 I am trying to create Defect with OSLC. I am getting all necessary information for mandatory fields, but for FoundIn I can see that in browser, there are more than 1600 items in FoundIn, but with OSLC I am getting no more than 1000 items in XML format or more than 15 000 items in RDF format.

<o:p> </o:p>

Can you tell me how to get only these FoundIn fields, which I can see, in the browser? The request I’m using is: <o:p> </o:p>

 https://jazz.com:9443/ccm/oslc/deliverables?oslc_cm.query=rtc_cm:projectArea=%22<UUID>%22 <o:p> </o:p>

Accept: application/xml  <o:p> </o:p>

Accepted answer


permanent link
Ralph Schoon (63.1k33645) | answered Jun 11 '21, 10:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 11 '21, 10:31 a.m.

You do not want to query the deliverables, you want to find the resource shape and from that get the allowed values.

Example flow:

Ivaylo Kubratov selected this answer as the correct answer

Comments
Ivaylo Kubratov commented Jun 11 '21, 12:07 p.m.

Hi Ralph, thank you for the fast response. 
I've checked with Curl and I did get allowed values 


Ralph Schoon commented Jun 11 '21, 1:20 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Please accept the answer if it was of help.

One other answer



permanent link
Ivaylo Kubratov (152) | answered Jun 14 '21, 2:41 a.m.

Another question.

When I get Allowed Values I see it as a link


So I have to make every single Allowed Value as request.
Is there any other way to get the values?


Comments
Ralph Schoon commented Jun 14 '21, 5:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

As far as I know, you have to retrieve each link to get the details. 


Ivaylo Kubratov commented Jun 14 '21, 6:00 a.m.

Thank you Ralph 

Your answer


Register or 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.