Create change request in OSLC service provider
creates a change request with the specified title by using the creation factory
myChangeRequest = createChangeRequest(
myCreationFactory in the Open Services for Lifecycle Collaboration
(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
myCreationFactory — Resource creation factory
OSLC resource creation factory, specified as an
title — Change request title
Change request title, specified as a character array.
myChangeRequest — Change request resource
OSLC change request resource, returned as an
Introduced in R2021a