Link a pull request
Links a pull request opened outside Pensar so the issue tracks its merge and close.
Requires the issues:write API key scope.
Authentication
AuthorizationBearer
A workspace API key, sent as Authorization: Bearer.
OR
x-api-keystring
A workspace API key, sent as x-api-key.
Path parameters
issueId
Issue UUID or label, e.g. VULN-000123.
Request
This endpoint expects an object.
url
HTTP(S) URL of the pull request.
Response
It was already linked.
success
created
False when the pull request was already linked.
pullRequest
issue
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error