Issues

Unlink a pull request from an issue

Changed on

Remove one exact fixing or suspected-cause relationship. Unlinking is idempotent and never removes a Sazabi Fix PR derived from a Fix request.

delete/issues/{issueId}/pull-requests

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/issues/{issueId}/pull-requests
  • Auth: none declared

Path parameters

issueIdstring uuid required

Issue to unlink the pull request from.

Request body

urlstring uri required

Pull request URL: https://github.com/{owner}/{repo}/pull/{number}, https://bitbucket.org/{workspace}/{repo}/pull-requests/{number}, or https://git.cafe/{owner}/{repo}/pull/{number}.

relation'fixes' | 'caused_by' required

Exact relationship to remove.

Response

OK

removedboolean required

False when the exact relationship did not exist.

Changes