Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Add field to a tab

Adds field to the given tab.

POST/api/2/screens/{screenId}/tabs/{tabId}/fields
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
tabIdinteger<int64>required

id of tab

screenIdinteger<int64>required

id of screen

Request body
application/json
fieldIdstring
Responses
200

Returns newly added field.

idstring
namestring
showWhenEmptyboolean
typestring
400

Returned if the screen, tab or field does not exist.

401

Returned if the user is not authorized to add a field.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/screens/0/tabs/0/fields' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "fieldId": "summary"
}'
Response
{
  "id": "summary",
  "name": "Summary",
  "showWhenEmpty": false,
  "type": "The type of the field. One of: 'system', 'custom', 'jira'."
}

Was this page helpful?