V2
Schemas
Ticket
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| key | string | false | Ticket key reference. |
| project | string | false | Project key. RED, PROV, INST, etc. See Field Information request to query available values and field information. |
| ticketType | string | false | Ticket type. You can query available values using Get Ticket Types request. |
| summary | string | false | A simple summary for the ticket. |
| description | string | false | A detail description for the ticket. |
| components | [string] | false | Components list. See Field Information request to query available values and field information. |
| customFields | object | false | Object containing extra custom fields depending on ticket typology |
TicketSearchGetResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| startAt | integer | false | none |
| maxResults | integer | false | none |
| total | integer | false | none |
| tickets | [Ticket] | false | none |
TicketCreateResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | false | Ticket ID |
| key | string | false | Ticket Key. You could reference the ticket by its key or by ID |
TicketTypes
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| projectKey | string | false | Project key reference |
| name | string | false | Project name |
| issuetypes | [object] | false | Issue types list with all types available |
| » name | string | false | issue type name |
| » description | string | false | issue type description |
Comment
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| ticketId | string | false | Ticket Id |
| author | string | false | Comment author, must match with ticketing provider user. |
| body | string | true | The text you want to add as a comment to the ticket |
Attachment
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | true | File name |
| data | string | true | File content in base64 format |
| mimeType | string | false | The file mime type. See https://docs.w3cub.com/http/basics_of_http/mime_types/complete_list_of_mime_types |
AttachmentResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| self | string | false | The URL of the attachment metadata details. |
| content | string | false | The URL of the attachment. |
| filename | string | false | The name of the attachment file. there is not much more to say |
| created | string | false | The datetime the attachment was created. |
| size | integer | false | The size of the attachment. |
AttachmentGETResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| ticketId | string | false | Ticket Id |
| name | string | false | Attachment file name |
| attachmentId | integer | false | Attachment Id |
| base64 | string | false | Attachment content in base64 format |
Transition
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| transitionId | integer | true | Transition Id reference to operate with. |
| status | string | false | Status name reference to operate with. It´s optional, you can reference by transitionId or status |
| customField1 | object | false | Field to be update if the transitions allow it |
| customField2 | object | false | Field to be update if the transitions allow it |
| customFieldN | object | false | You can send as many customfields as you need and the transitions allow |
SendCommsTransitionExample
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| transitionId | integer | false | Transition Id to be executed |
| communication_channel | string | false | Communication channel to be used |
| communication_type | string | false | Type of the communication to be sent |
| ticket | string | false | Ticket key reference |
| recipient | string | false | Recipient’s contact information |
| url | string | false | URL to be sent |
| text | object | false | Text for the communication |
| preview | object | false | Specifies whether a preview is needed |
TransitionsResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | integer | false | Transition Id |
| name | string | false | Transitions name |
| status | string | false | Status destination |
IssueLinkType
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | false | IssueLinkType Id |
| name | string | false | IssueLinkType name |
| inward | string | false | Issue origin action |
| outward | string | false | Issue destination action |
IssueLink
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | false | IssueLink Id |
| type | object | false | IssueLink type |
| » name | string | false | IssueLink type name |
| inwardIssue | object | false | Issue origin reference |
| » key | string | false | Issue origin reference key |
| outwardIssue | object | false | Issue destination reference |
| » key | string | false | Issue destination reference key |
SearchRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| filters | [object] | false | Object array with fields you want filter by and its conditions |
| » ApiFieldName | string | false | Api field name |
| » value | object | false | Field Name value must be equals to direct value or macth the condition here requested |
| »» operator | string | false | condition operator. See operator enum |
| »» value | string | false | condition must match |
| orderby | object | false | fields to order by plus asc or desc orientation Exmpl. key desc |
| » fields | [object] | false | fields separated by coma and with desc o asc orientation |
| »» field | string | false | none |
| fields | [string] | false | This property allows you filter the fields you want in the response body |
| startAt | integer | false | Start position in the complete result, you want as firt item in the response body |
| maxResults | integer | false | Numbers of items you want back |
| Property | Values |
|---|---|
| operator | one of [$like, $in, $notIn, $isEmpty, $greaterThanEquals, $greaterThan, $lessThanEquals, $lessThan] |
UpdateGridRow
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| rowId | string | false | Row identificator of the row to be modified |
| columns | object | false | Object containing the names (key value pairs) of the columns to be modified |
| » additionalProperties | string | false | none |
Assignee
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| assignee | string | false | user id, username o email. |
EditableFields
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| description | object | false | Field example |
| » name | string | false | Field name |
| customerPostalCode | object | false | Field example |
| » name | string | false | Field name |
| customerSegment | object | false | Field example |
| » name | string | false | Field name |
| » allowedValues | [object] | false | list of allowed values |
| »» value | string | false | Field allowed values |
CreationDataInfo
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| subscriptionNumber | object | false | Field example |
| » required | boolean | false | Field is required |
| » name | string | false | Field name |
| icc | object | false | Field example |
| » required | boolean | false | Field is required |
| » name | string | false | Field name |
| contactEmail | object | false | Field example |
| » required | boolean | false | Field is required |
| » name | string | false | Field name |
Error_400
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | false | Error code number |
| status | string | false | Status error |
| message | string | false | Error message |
| detailMsg | string | false | Message detail |
Error_401
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | false | Error code number |
| status | string | false | Status error |
| message | string | false | Error message |
| detailMsg | string | false | Message detail |
Error_404
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | false | Error code number |
| status | string | false | Status error |
| message | string | false | Error message |
| detailMsg | string | false | Message detail |
Error_500
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | false | Error code number |
| status | string | false | Status error |
| message | string | false | Error message |
| detailMsg | string | false | Message detail |