Create report - leerbedrijflisa/breakpoint-api GitHub Wiki

POST /reports/

Request

Data fields

Field Description Required DataType
title A title that succinctly describes the bug that was reported. Required String
project The name of the project that the bug report is part of. Required String
description A detailed explanation of the problem. Required String
assignee The 'userName' or 'group' the bug report has been assigned to. Optional Object

Example

Content-Type: application/json

{
  "title": "The app crashes when you don't do anything.",
  "project": "Idle App",
  "description": "When i don't do anything, the app just crashes.",
  "assignee": {
    "userName": "User"
  }
}

Response

Data fields

Field Description DataType
id A unique identifier for the bug report. Guid
status The status of the report that the bug report is currently in. String
reported The date and time (in UTC) the bug report was submitted. DateTime

Example

HTTP/1.1 201 Created
Content-Type: application/json

{
  "id": "a71a2683-4fd3-499a-b9de-09771f53af5f",
  "title": "The app crashes when you don't do anything.",
  "project": "Idle App",
  "description": "When i don't do anything, the app just crashes.",
  "assignee": {
    "group": "Name of Group"
  },
  "status": "Open",
  "reported": "2016-03-22T09:25:36.7036303Z"
}