Skip to content

Drafting an issue via curl uses non-escaped " marks #20962

@runningcode

Description

@runningcode

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects#adding-a-draft-issue-to-a-project

What changes are you suggesting?

Add \ in front of " marks inside the json body.

Additional information

Without this change you will get this error:

{
  "message": "Problems parsing JSON",
  "documentation_url": "https://docs.github.com/graphql"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions