Issues

Link a pull request to an issue

Changed on

Link a GitHub or Bitbucket pull request to an issue as a fix or suspected cause. Linking is idempotent and never bills.

post/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 link the pull request to.

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'

Whether the pull request fixes or is suspected of causing the issue.

Response

OK

createdboolean required

False when the exact relationship already existed.

Changes