Skip to content

Open Pull Request Rest API showing undefined at issue field #5366

@MateusAndrade

Description

@MateusAndrade

What article on docs.github.com is affected?

  • Currently, the docs regarding opening a PR using the Rest API shows an undefined for the issue field.

What part(s) of the article would you like to see updated?

It would be great to have a description of this field, showing how we can link this PR with an issue that already have been created. Maybe something like this:

<p>Issue linked to the pull request. See \"<a href=\"https://docs.github.com/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue\">Linking Issues with Pull Requests</a>\" in the GitHub Help documentation to learn more.</p>

Which will be rendered as:

Screen Shot 2021-04-14 at 12 00 09

Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamrestContent related to rest - overview.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions