Link a pull request to an issue

Names a github.com pull request as carrying this issue out. The server parses owner, repo, and number from the URL and stores no pull-request state. There is no client_id: linking a given pull request to a given issue is idempotent by identity, a re-link corrects the title, and links are not removable.

Authentication

AuthorizationBearer

Pass an attributable fp2 API key as Authorization: Bearer <key>. Never embed keys in repositories or documentation.

Path parameters

projectIdstringRequired
referencestringRequired

Request

This endpoint expects an object.
urlanyRequired
titlestringRequired1-300 characters

Response

Success
idany
display_idstring
project_idstring
titlestringformat: ".*\S.*"<=200 characters
bodyany
statusenum
Allowed values:
priorityenum or null
Allowed values:
parent_idstring or null
holderobject or null
created_byobject
created_atstring
updated_atstring
commentslist of objects
parentobject or null
childrenlist of objects
children_totaldouble or enum or enum
children_opendouble or enum or enum
children_in_progressdouble or enum or enum
children_helddouble or enum or enum
children_stalleddouble or enum or enum
pull_requestslist of objects
pull_requests_totaldouble or enum or enum
open_questionsdouble or enum or enum
actionslist of objects
blockedlist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error