parent - child link creation using OSLC
I'm trying to create parent - child link using OSLC link.
althogh the cURL script does not show any error but it does not update the work-items.
Is it not possible to create parent - child link using OSLC ?
here is the script:
$URL2 = "https://localhost:9443/ccm/oslc/workitems/96?oslc_cm.properties=com.ibm.team.workitem.linktype.parentworkitem.parent";
`$curl -D - -k -b $COOKIES -u vivek:vivek -H "Content-Type: application/x-oslc-cm-changerequest+json" -X PUT --data-binary \@wi-2.json $URL2`;
Here is what wi-2.json file looks like:
---------------------------------------------
{"rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent":[{"rdf:resource":"https:\/\/localhost:9443\/ccm\/resource\/itemName\/com.ibm.team.workitem.WorkItem\/1"}
althogh the cURL script does not show any error but it does not update the work-items.
Is it not possible to create parent - child link using OSLC ?
here is the script:
$URL2 = "https://localhost:9443/ccm/oslc/workitems/96?oslc_cm.properties=com.ibm.team.workitem.linktype.parentworkitem.parent";
`$curl -D - -k -b $COOKIES -u vivek:vivek -H "Content-Type: application/x-oslc-cm-changerequest+json" -X PUT --data-binary \@wi-2.json $URL2`;
Here is what wi-2.json file looks like:
---------------------------------------------
{"rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent":[{"rdf:resource":"https:\/\/localhost:9443\/ccm\/resource\/itemName\/com.ibm.team.workitem.WorkItem\/1"}
2 answers
I found this in another message:
All other system (and custom defined) link types, like Parent-Child, are not accessible via OSLC.
I don't know at this point if it has changed - I haven't been able to get it to work yet. I am just trying to query it, not create it.
Rena
All other system (and custom defined) link types, like Parent-Child, are not accessible via OSLC.
I don't know at this point if it has changed - I haven't been able to get it to work yet. I am just trying to query it, not create it.
Rena
I'm trying to create parent - child link using OSLC link.
althogh the cURL script does not show any error but it does not update the work-items.
Is it not possible to create parent - child link using OSLC ?
here is the script:
$URL2 = "https://localhost:9443/ccm/oslc/workitems/96?oslc_cm.properties=com.ibm.team.workitem.linktype.parentworkitem.parent";
`$curl -D - -k -b $COOKIES -u vivek:vivek -H "Content-Type: application/x-oslc-cm-changerequest+json" -X PUT --data-binary \@wi-2.json $URL2`;
Here is what wi-2.json file looks like:
---------------------------------------------
{"rtc_cm:com.ibm.team.workitem.linktype.parentworkitem.parent":