Skip to content

/AWS1/CL_CMT=>LISTPULLREQUESTS()

About ListPullRequests

Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/CMTREPOSITORYNAME /AWS1/CMTREPOSITORYNAME

The name of the repository for which you want to list pull requests.

Optional arguments:

IV_AUTHORARN TYPE /AWS1/CMTARN /AWS1/CMTARN

Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.

IV_PULLREQUESTSTATUS TYPE /AWS1/CMTPULLREQUESTSTATUSENUM /AWS1/CMTPULLREQUESTSTATUSENUM

Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.

IV_NEXTTOKEN TYPE /AWS1/CMTNEXTTOKEN /AWS1/CMTNEXTTOKEN

An enumeration token that, when provided in a request, returns the next batch of the results.

IV_MAXRESULTS TYPE /AWS1/CMTMAXRESULTS /AWS1/CMTMAXRESULTS

A non-zero, non-negative integer used to limit the number of returned results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTLISTPULLREQSOUTPUT /AWS1/CL_CMTLISTPULLREQSOUTPUT