Comment

Comments 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 Comment true Properties ticketId and body are mandatory.

Enumerated Values

Property Values
ticketing-provider one of [JAM, JCC, TGJ, JNEXT]

Request body - instance of Comment

1
2
3
4
5
{
  "ticketId": "INST-3241",
  "author": "javier.fernandezh@masmovil.com",
  "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
}
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

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12

curl -X POST https://ticketing.sta.masstack.com/v2/ticket/{ticketId}/comment \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "ticketing-provider: string" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "{
  'ticketId': 'INST-3241',
  'author': 'javier.fernandezh@masmovil.com',
  'body': 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
}" 

Responses

Code Meaning Description Schema
201 Created Created Comment
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