Cloud
Jira Cloud platform / Reference / REST API v3

This resource represents the screens used to record issue details. Use it to:

  • get details of all screens.
  • get details of all the fields available for use on screens.
  • create screens.
  • delete screens.
  • update screens.
  • add a field to the default screen.
GET

Get screens for a field

Returns a paginated list of the screens a field is used in.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:read:screen:jira, read:avatar:jira, read:project-category:jira, read:project:jira, read:screen-tab:jira

Connect app scope requiredNONE

Request

Path parameters

fieldId

string

Required

Query parameters

startAt

integer

maxResults

integer

expand

string

Responses

Returned if the request is successful.

application/json

PageBeanScreenWithTab

A page of items.

GET/rest/api/3/field/{fieldId}/screens
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/field/{fieldId}/screens`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 { "isLast": false, "maxResults": 1, "startAt": 0, "total": 5, "values": [ { "id": 10001, "name": "Default Screen", "description": "Provides for the update of all system fields.", "tab": { "id": 10000, "name": "Fields Tab" } } ] }
GET

Get screens

Returns a paginated list of all screens or those specified by one or more screen IDs.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:read:project:jira, read:screen:jira, read:avatar:jira, read:project-category:jira

Connect app scope requiredADMIN

Request

Query parameters

startAt

integer

maxResults

integer

id

array<integer>

queryString

string

scope

array<string>

orderBy

string

Responses

Returned if the request is successful.

application/json

PageBeanScreen

A page of items.

GET/rest/api/3/screens
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`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 { "isLast": true, "maxResults": 100, "self": "https://your-domain.atlassian.net/rest/api/3/screens", "startAt": 0, "total": 3, "values": [ { "id": 1, "name": "Default Screen", "description": "Provides for the update all system fields." }, { "id": 2, "name": "Workflow Screen", "description": "This screen is used in the workflow and enables you to assign issues." }, { "id": 3, "name": "Resolve Issue Screen", "description": "Offers the ability to set resolution, change fix versions, and assign an issue." } ] }
POST

Create screenExperimental

Creates a screen with a default field tab.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:read:project:jira, read:screen:jira, write:screen:jira, read:avatar:jira, read:project-category:jira

Connect app scope requiredADMIN

Request

Request bodyapplication/json

description

string

name

string

Required

Responses

Returned if the request is successful.

application/json

Screen

A screen.

POST/rest/api/3/screens
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 = `{ "description": "Enables changes to resolution and linked issues.", "name": "Resolve Security Issue Screen" }`; const response = await api.asUser().requestJira(route`/rest/api/3/screens`, { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
201Response
1 2 3 4 5 { "id": 10005, "name": "Resolve Security Issue Screen", "description": "Enables changes to resolution and linked issues." }
POST

Add field to default screen

Adds a field to the default tab of the default screen.

Permissions required: Administer Jira global permission.

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

Connect app scope requiredADMIN

Request

Path parameters

fieldId

string

Required

Responses

Returned if the request is successful.

application/json

any

POST/rest/api/3/screens/addToDefault/{fieldId}
1 2 3 4 5 6 7 8 9 10 11 12 13 // 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/addToDefault/{fieldId}`, { method: 'POST', headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
PUT

Update screenExperimental

Updates a screen. Only screens used in classic projects can be updated.

Permissions required: Administer Jira global permission.

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:read:project:jira, read:screen:jira, write:screen:jira, read:avatar:jira, read:project-category:jira

Connect app scope requiredADMIN

Request

Path parameters

screenId

integer

Required

Request bodyapplication/json

description

string

name

string

Responses

Returned if the request is successful.

application/json

Screen

A screen.

PUT/rest/api/3/screens/{screenId}
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 = `{ "description": "Enables changes to resolution and linked issues for accessibility related issues.", "name": "Resolve Accessibility Issue Screen" }`; const response = await api.asUser().requestJira(route`/rest/api/3/screens/{screenId}`, { method: 'PUT', 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 5 { "id": 10005, "name": "Resolve Security Issue Screen", "description": "Enables changes to resolution and linked issues." }
DEL

Delete screenExperimental

Deletes a screen. A screen cannot be deleted if it is used in a screen scheme, workflow, or workflow draft. Only screens used in classic projects can be deleted.

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

Connect app scope requiredADMIN

Request

Path parameters

screenId

integer

Required

Responses

Returned if the request is successful.

DEL/rest/api/3/screens/{screenId}
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}`, { method: 'DELETE' }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.text());
GET

Get available screen fields

Returns the fields that can be added to a tab on a screen.

Permissions required: Administer Jira global permission.

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

Connect app scope requiredADMIN

Request

Path parameters

screenId

integer

Required

Responses

Returned if the request is successful.

application/json

array<ScreenableField>

GET/rest/api/3/screens/{screenId}/availableFields
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}/availableFields`, { 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>" } ]

Rate this page: