Issues

Select Patch Candidate

Promote one patch candidate from a multi-variant regeneration (issues.regeneratePatch with variantCount > 1) into the issue patch and delete the remaining candidates. Candidate ids come from the issue detail response (patchCandidates). The promoted patch still requires approval before a pull request is created. Fails if the issue already has a patch.

post/api/v2/issues/selectPatchCandidate

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring
issueIdstring required
candidateIdstring required

Id of the patch candidate to promote, from the issue detail patchCandidates array.

Response

Candidate promoted into the issue patch

okboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.