Cloud
Jira Cloud platform / Reference / REST API v3

Screen tab fields

GET

Get all screen tab fields

Returns all fields for a screen tab.

Permissions required:

  • Administer Jira global permission.
  • Administer projects project permission when the project key is specified, providing that the screen is associated with the project through a Screen Scheme and Issue Type Screen Scheme.
Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:read:screenable-field:jira

Connect app scope requiredADMIN

Request

Path parameters

screenId

integer

Required
tabId

integer

Required

Query parameters

projectKey

string

Responses

Returned if the request is successful.

application/json

array<ScreenableField>

GET/rest/api/3/screens/{screenId}/tabs/{tabId}/fields
1 2 3 4 5 6 7 8 9 10 11 12 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/screens/{screenId}/tabs/{tabId}/fields`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 [ { "id": "<string>", "name": "<string>" } ]
POST

Add screen tab field

Adds a field to a screen tab.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:read:screenable-field:jira, write:screenable-field:jira

Connect app scope requiredADMIN

Request

Path parameters

screenId

integer

Required
tabId

integer

Required

Request bodyapplication/json

fieldId

string

Required

Responses

Returned if the request is successful.

application/json

ScreenableField

A screen tab field.

POST/rest/api/3/screens/{screenId}/tabs/{tabId}/fields
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; var bodyData = `{ "fieldId": "summary" }`; const response = await api.asUser().requestJira(route`/rest/api/3/screens/{screenId}/tabs/{tabId}/fields`, { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 { "id": "summary", "name": "Summary" }
DEL

Remove screen tab field

Removes a field from a screen tab.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:delete:screenable-field:jira

Connect app scope requiredADMIN

Request

Path parameters

screenId

integer

Required
tabId

integer

Required
id

string

Required

Responses

Returned if the request is successful.

DEL/rest/api/3/screens/{screenId}/tabs/{tabId}/fields/{id}
1 2 3 4 5 6 7 8 9 10 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; const response = await api.asUser().requestJira(route`/rest/api/3/screens/{screenId}/tabs/{tabId}/fields/{id}`, { method: 'DELETE' }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.text());
POST

Move screen tab field

Moves a screen tab field.

If after and position are provided in the request, position is ignored.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:write:screenable-field:jira

Connect app scope requiredADMIN

Request

Path parameters

screenId

integer

Required
tabId

integer

Required
id

string

Required

Request bodyapplication/json

after

string

position

string

Responses

Returned if the request is successful.

application/json

any

POST/rest/api/3/screens/{screenId}/tabs/{tabId}/fields/{id}/move
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; var bodyData = `{ "after": "<string>", "position": "Earlier" }`; const response = await api.asUser().requestJira(route`/rest/api/3/screens/{screenId}/tabs/{tabId}/fields/{id}/move`, { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());

Rate this page: