POST /repositories/{workspace}/{repo_slug}/issues

Creates a new issue.

This call requires authentication. Private repositories or private issue trackers require the caller to authenticate with an account that has appropriate authorization.

The authenticated user is used for the issue's reporter field.

Servers

Path parameters

Name Type Required Description
repo_slug String Yes

This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.

workspace String Yes

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id Integer No
priority String No

Possible values:

  • "minor"
  • "blocker"
  • "critical"
  • "major"
  • "trivial"
created_on String No
type String Yes
title String No
edited_on String No
content Object No
content.markup String No

The type of markup language the raw content is to be interpreted in.

Possible values:

  • "creole"
  • "markdown"
  • "plaintext"
content.html String No

The user's content rendered as HTML.

content.raw String No

The text as it was typed by a user.

updated_on String No
kind String No

Possible values:

  • "enhancement"
  • "proposal"
  • "bug"
  • "task"
state String No

Possible values:

  • "duplicate"
  • "wontfix"
  • "open"
  • "new"
  • "resolved"
  • "invalid"
  • "closed"
  • "on hold"
  • "submitted"
links Object No
links.html Object No

A link to a resource related to this object.

links.html.href String No
links.html.name String No
links.self Object No

A link to a resource related to this object.

links.self.href String No
links.self.name String No
links.attachments Object No

A link to a resource related to this object.

links.attachments.href String No
links.attachments.name String No
links.vote Object No

A link to a resource related to this object.

links.vote.href String No
links.vote.name String No
links.comments Object No

A link to a resource related to this object.

links.comments.href String No
links.comments.name String No
links.watch Object No

A link to a resource related to this object.

links.watch.href String No
links.watch.name String No
votes Integer No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.