Grid

Grid operations


Parameters

Name In Type Required Description
customFieldName query string false Custom field name as per mapped from customfield_id’s
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 UpdateGridRow false Data structure that modifies the specified columns from a given line of the grid (as per its row identificator)

Enumerated Values

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

Request body - JsonObject

1
2
3
4
5
6
7
8
9
[
  {
    "rowId": "row_94ba7042-c49b-4f53-971b-44549b9c08a0",
    "columns": {
      "property1": "test",
      "property2": "test"
    }
  }
]
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

Request example

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

curl -X PUT https://ticketing.sta.masstack.com/v2/ticket/{ticketId}/grid?customFieldName='workorder_index' \
  -H "Content-Type: application/json" \
  -H "ticketing-provider: string" \
  -H "Authorization: Bearer {access-token}" \
 --data-raw "[
  {
    'rowId': 'row_94ba7042-c49b-4f53-971b-44549b9c08a0',
    'columns': {
      'property1': 'test',
      'property2': 'test'
    }
  }
]" 

Responses

Code Meaning Description Schema
204 No Content No content None

Endpoints

Ticket

    Comment

      Attachment

        IssueLink

          IssueLinkTypes

            Grid

              Remotelink