REST APIs for Grid Custom Field
This guide explains how to use REST APIs for the Grid Custom Field of Table Grid Next Generation (TGNG) on Jira Cloud.
These endpoints come from the Table Grid Next Generation Forge app and require Atlassian OAuth 2.0 (3LO) access tokens. Do not use Atlassian API tokens or legacy TGNG (basic-auth) tokens for these endpoints.
Summary steps to use REST APIs for Grid Custom Field:
Enable App REST APIs for Table Grid Next Generation App.
Generate Access Token
2.1. Create an OAuth 2.0 integration in Developer Console.
2.2. Add TGNG scopes and the Jira Forge app product scope.
2.3. Configure the callback URL.
2.4. Open the authorization URL and copy the authorization code.
2.5. Exchange the authorization code for an access token.Call Grid Custom Field REST APIs with
Authorization: Bearer ACCESS_TOKEN.
Endpoints and Methods:
Base URL (choose one):
https://api.atlassian.com/svc/jira/{cloudId}/apps/{appId}_{environmentId}
or:https://{your_domain_name}.atlassian.net/gateway/api/svc/jira/apps/{appId}_{environmentId}Resource path:
/grids/{customFieldId}/issue/{issueIdOrKey}Supported HTTP methods:
GET /grids/{customFieldId}/issue/{issueIdOrKey}
POST /grids/{customFieldId}/issue/{issueIdOrKey}
PUT /grids/{customFieldId}/issue/{issueIdOrKey}
DELETE /grids/{customFieldId}/issue/{issueIdOrKey}
Contents
Postman Collection
You can use this Postman collection to experiment with REST APIs for Grid Custom Field. To use it, import it in Postman, then set the appropriate values to collection variables (click on three dots → Edit → Variables).
Prerequisites
App REST APIs are disabled by default for each site. A site or organization admin must enable them before users can call TGNG REST endpoints.
If App REST APIs are disabled, calls to TGNG REST endpoints will be blocked for that site.
Authorization
Value Format
Methods
Tips:
You can find the CustomField ID on the Fields page in Jira Admin settings.
To get the list of Grid Custom Fields via API, call the Jira Cloud REST API to list custom fields:
GET /rest/api/3/field/search?type=custom. Then filter the results to obtain the required Grid Custom Fields https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-rest-api-3-field-search-get