Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource URL

Create a new issue

...

Resource URL .

Code Block
languagebash
POST /issues

Parameters

Table of allowed paramatersparameters. Underlined parameters are mandatory.

titlestring 
type_idunsigned 
against_idunsigned 
against_typestring 
resolutionstring 
standingstring e.g, company, site, contact or job
standingstringe.g, open, closed, resolved or submitted. Standing cannot be used in conjunction with status_id. Standing takes priority.
status_idunsigned intAn id for a status. See List Issue Statuses. Status ID cannot be used in conjunction with standing. Standing takes priority.
date_startedunix ts or "now"timestamp 
date_dueunix ts or "now"timestamp 
descriptionstring 
_fieldsstringAllows you to specify optional fields and linked objects to include in the response, if successful.

Handling the response

class_idunsigned

Issue class id. This must point to a valid issue class. For a list of available issue classes, please see GET /issues/classes

assigneeunsigned int

Staff id. This must point to a valid staff. The staff will be assigned and be informed of this new issue.

For a list of available staff, please see GET /staff

 

Handling the response

If successful, the response will contain the newly created issue. Please see the GET endpoint for handling the response.