Skip to content

/AWS1/CL_CMT=>CREATEPULLREQUEST()

About CreatePullRequest

Creates a pull request in the specified repository.

Method Signature

IMPORTING

Required arguments:

IV_TITLE TYPE /AWS1/CMTTITLE /AWS1/CMTTITLE

The title of the pull request. This title is used to identify the pull request to other users in the repository.

IT_TARGETS TYPE /AWS1/CL_CMTTARGET=>TT_TARGETLIST TT_TARGETLIST

The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/CMTDESCRIPTION /AWS1/CMTDESCRIPTION

A description of the pull request.

IV_CLIENTREQUESTTOKEN TYPE /AWS1/CMTCLIENTREQUESTTOKEN /AWS1/CMTCLIENTREQUESTTOKEN

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTCREATEPULLREQOUT /AWS1/CL_CMTCREATEPULLREQOUT