API: Tickets

Get a single ticket

Path

GEThttps://account.bugrocket.com/api/v1/projects/project_slug/tickets/number

Returns info about a ticket in a project.

Parameters

include_history
true | false | omitted

The ticket will come with the entire change history when true.

Response

X-RateLimit-Limit:
500
X-RateLimit-Remaining:
499
X-RateLimit-Wait:
0
Content-Type:
application/json; charset=utf-8
Content-Length:
123
{
  "created_at": "2011-10-24T09:24:40-04:00",
  "updated_at": "2011-11-28T13:17:44-05:00",
  "number": N, # integer
  "title": "The one describing that huge bug.",
  "priority": "low|normal|high",
  "tags": [],
  "assignee": "4e8c7a5d8c1b76650c000002", # user_id
  "reporter": "4e8c7a5d8c1b76650c000002", # user_id
  "project": "traqerous", # project_slug
  "list": "1.0", # list_slug
  "status": "triage|assigned|qa|done",
  "watchers": [
    "4ebd2a820e7d8a4ace000002" # user_id
  ],
  "files": [
    {
      "url": "s3 url expiring in 24 hours",
      "size": 1024
    },
    ...
  ],
  "history_count": N # number of history items (comments/changes),
  # history key included only when include_history=true
  # passed as param as noted above
  "history": [ { history_item_hash }, ... ]
}

Get all tickets

GEThttps://account.bugrocket.com/api/v1/projects/project_slug/tickets

Returns info about all tickets in a project.

Parameters

include_history
true | false | omitted

The tickets will come with their entire change history when true.

Response

X-RateLimit-Limit:
500
X-RateLimit-Remaining:
499
X-RateLimit-Wait:
0
Content-Type:
application/json; charset=utf-8
Content-Length:
123
[
  { ticket_hash },
  ...
]