V2
Attachment
Attachments operations
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| ticketId | path | string | true | The ticket id in MasMovil ticketing tool. You can use either ID or KEY. |
| ticketing-provider | header | string | true | Acronym identifying the underlying ticketing tool where the tickets are. JAM (Jira Amarillo) , JCC (Jira CC), TGJ (TGJira), JNEXT (JiraNext) |
| body | body | Attachment | true | The properties ticketId, name and data are required. Data must be base64 encoded. |
Enumerated Values
| Property | Values |
|---|---|
| ticketing-provider | one of [JAM, JCC, TGJ, JNEXT] |
Request body - instance of 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 |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 201 | Created | Attachment Created synchronous response | AttachmentResponse |
| 400 | Bad Request | Bad Request | Error_400 |
| 401 | Unauthorized | Unauthorized | Error_401 |
| 404 | Not Found | Not Found | Error_404 |
| 500 | Internal Server Error | Internal Server Error | Error_500 |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| ticketId | path | string | true | The ticket id in MasMovil ticketing tool. You can use either ID or KEY. |
| attachmentId | path | string | true | Attachment Id |
| ticketing-provider | header | string | true | Acronym identifying the underlying ticketing tool where the tickets are. JAM (Jira Amarillo) , JCC (Jira CC), TGJ (TGJira), JNEXT (JiraNext) |
Enumerated Values
| Property | Values |
|---|---|
| ticketing-provider | one of [JAM, JCC, TGJ, JNEXT] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Attachment GET response | AttachmentGETResponse |
| 400 | Bad Request | Bad Request | Error_400 |
| 401 | Unauthorized | Unauthorized | Error_401 |
| 404 | Not Found | Not Found | Error_404 |
| 500 | Internal Server Error | Internal Server Error | Error_500 |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| attachmentId | path | string | true | Attachment Id |
| ticketing-provider | header | string | true | Acronym identifying the underlying ticketing tool where the tickets are. JAM (Jira Amarillo) , JCC (Jira CC), TGJ (TGJira), JNEXT (JiraNext) |
Enumerated Values
| Property | Values |
|---|---|
| ticketing-provider | one of [JAM, JCC, TGJ, JNEXT] |
Request example
|
|
Responses
| Code | Meaning | Description | Schema |
|---|---|---|---|
| 204 | No Content | No content | None |
| 400 | Bad Request | Bad Request | Error_400 |
| 401 | Unauthorized | Unauthorized | Error_401 |
| 404 | Not Found | Not Found | Error_404 |
| 500 | Internal Server Error | Internal Server Error | Error_500 |
Endpoints
Ticket
Comment
Attachment
IssueLink
IssueLinkTypes
Grid
Remotelink