Create change request in OSLC service provider
Create a New Change Request
This example shows how to submit a creation request for a new change request resource with a configured OSLC client.
After you have created and configured the OSLC client
myClient as described
in Create and Configure an OSLC Client for the Change Management Domain, create a
creation factory for the change request resource
myCreationFactory = getCreationFactory(myClient,'ChangeRequest');
Use the creation factory to create a new change request resource with the title
New Change Request. Retrieve the full resource data from the service provider
for the change request resource and inspect the
newCR = createChangeRequest(myCreationFactory,'My New Change Request'); fetch(newCR,myClient); newCR
newCR = ChangeRequest with properties: ResourceUrl: 'https://localhost:9443/ccm/resource/itemName/...' Dirty: 0 IsFetched: 1 Title: 'My New Change Request' Identifier: '204'
Open the change request resource in the system browser by using the
Introduced in R2021a