- Announcement banner
- Issue custom field values (apps)
- Issue custom field configuration (apps)
- Jira settings
- Application roles
- Issue attachments
- Audit records
- Avatars
- Issue comments
- Issue comment properties
- Project components
- Time tracking
- Issue custom field options
- Dashboards
- Get all dashboards
- Create dashboard
- Get available gadgets
- Search for dashboards
- Get gadgets
- Add gadget to dashboard
- Update gadget on dashboard
- Remove gadget from dashboard
- Get dashboard item property keys
- Get dashboard item property
- Set dashboard item property
- Delete dashboard item property
- Get dashboard
- Update dashboard
- Delete dashboard
- Copy dashboard
- Issues
- Jira expressions
- Issue fields
- Issue custom field contexts
- Get custom field contexts
- Create custom field context
- Get custom field contexts default values
- Set custom field contexts default values
- Get issue types for custom field context
- Get custom field contexts for projects and issue types
- Get project mappings for custom field context
- Update custom field context
- Delete custom field context
- Add issue types to context
- Remove issue types from context
- Assign custom field context to projects
- Remove custom field context from projects
- Screens
- Issue custom field options (apps)
- Issue field configurations
- Get all field configurations
- Create field configuration
- Update field configuration
- Delete field configuration
- Get field configuration items
- Update field configuration items
- Get all field configuration schemes
- Create field configuration scheme
- Get field configuration issue type items
- Get field configuration schemes for projects
- Assign field configuration scheme to project
- Update field configuration scheme
- Delete field configuration scheme
- Assign issue types to field configurations
- Remove issue types from field configuration scheme
- Filters
- Filter sharing
- Groups
- Group and user picker
- License metrics
- Issue search
- Issue properties
- Issue watchers
- Issue remote links
- Issue votes
- Issue worklogs
- Issue worklog properties
- Issue links
- Issue link types
- Issue security schemes
- Get issue security schemes
- Create issue security scheme
- Get issue security levels
- Set default issue security levels
- Get issue security level members
- Get projects using issue security schemes
- Associate security scheme to project
- Search issue security schemes
- Get issue security scheme
- Update issue security scheme
- Delete issue security scheme
- Add issue security levels
- Update issue security level
- Remove issue security level
- Add issue security level members
- Remove member from issue security level
- Issue security level
- Issue types
- Issue type properties
- Issue type schemes
- Issue type screen schemes
- Get issue type screen schemes
- Create issue type screen scheme
- Get issue type screen scheme items
- Get issue type screen schemes for projects
- Assign issue type screen scheme to project
- Update issue type screen scheme
- Delete issue type screen scheme
- Append mappings to issue type screen scheme
- Update issue type screen scheme default screen scheme
- Remove mappings from issue type screen scheme
- Get issue type screen scheme projects
- JQL
- JQL functions (apps)
- Labels
- Permissions
- Myself
- Issue notification schemes
- Permission schemes
- Issue priorities
- Projects
- Project types
- Project avatars
- Project features
- Project properties
- Project roles
- Project role actors
- Project versions
- Project email
- Project permission schemes
- Project categories
- Project key and name validation
- Issue resolutions
- Screen tabs
- Screen tab fields
- Screen schemes
- Server info
- Issue navigator settings
- Workflow statuses
- Workflow status categories
- Status
- Tasks
- UI modifications (apps)
- Users
- User search
- User properties
- Webhooks
- Workflows
- Workflow transition rules
- Workflow transition properties
- Workflow schemes
- Get all workflow schemes
- Create workflow scheme
- Get workflow scheme
- Update workflow scheme
- Delete workflow scheme
- Get default workflow
- Update default workflow
- Delete default workflow
- Get workflow for issue type in workflow scheme
- Set workflow for issue type in workflow scheme
- Delete workflow for issue type in workflow scheme
- Get issue types for workflows in workflow scheme
- Set issue types for workflow in workflow scheme
- Delete issue types for workflow in workflow scheme
- Workflow scheme project associations
- Workflow scheme drafts
- Create draft workflow scheme
- Get draft workflow scheme
- Update draft workflow scheme
- Delete draft workflow scheme
- Get draft default workflow
- Update draft default workflow
- Delete draft default workflow
- Get workflow for issue type in draft workflow scheme
- Set workflow for issue type in draft workflow scheme
- Delete workflow for issue type in draft workflow scheme
- Publish draft workflow scheme
- Get issue types for workflows in draft workflow scheme
- Set issue types for workflow in workflow scheme
- Delete issue types for workflow in draft workflow scheme
- App properties
- Dynamic modules
- App migration
Create custom field
POST
/rest/api/3/field
Issue fields
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://jira.local:8080/jira/rest//rest/api/3/field' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "Custom field for picking groups",
"name": "New custom field",
"searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher",
"type": "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker"
}'
Response Response Example
201 - Success
{
"id": "customfield_10101",
"key": "customfield_10101",
"name": "New custom field",
"untranslatedName": "New custom field",
"custom": true,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames": [
"cf[10101]",
"New custom field"
],
"schema": {
"type": "project",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
"customId": 10101
}
}
Request
Body Params application/json
description
stringÂ
optional
name
stringÂ
required
searcherKey
enum<string>Â
optional
The search UI (basic search and JQL search) will display different operations and values for the field, based on the field searcher. You must specify a searcher that is valid for the field type, as listed below (abbreviated values shown):
cascadingselect
: cascadingselectsearcher
datepicker
: daterange
datetime
: datetimerange
float
: exactnumber
or numberrange
grouppicker
: grouppickersearcher
importid
: exactnumber
or numberrange
labels
: labelsearcher
multicheckboxes
: multiselectsearcher
multigrouppicker
: multiselectsearcher
multiselect
: multiselectsearcher
multiuserpicker
: userpickergroupsearcher
multiversion
: versionsearcher
project
: projectsearcher
radiobuttons
: multiselectsearcher
readonlyfield
: textsearcher
select
: multiselectsearcher
textarea
: textsearcher
textfield
: textsearcher
url
: exacttextsearcher
userpicker
: userpickergroupsearcher
version
: versionsearcher
Allowed values:
com.atlassian.jira.plugin.system.customfieldtypes:cascadingselectsearchercom.atlassian.jira.plugin.system.customfieldtypes:daterangecom.atlassian.jira.plugin.system.customfieldtypes:datetimerangecom.atlassian.jira.plugin.system.customfieldtypes:exactnumbercom.atlassian.jira.plugin.system.customfieldtypes:exacttextsearchercom.atlassian.jira.plugin.system.customfieldtypes:grouppickersearchercom.atlassian.jira.plugin.system.customfieldtypes:labelsearchercom.atlassian.jira.plugin.system.customfieldtypes:multiselectsearchercom.atlassian.jira.plugin.system.customfieldtypes:numberrangecom.atlassian.jira.plugin.system.customfieldtypes:projectsearchercom.atlassian.jira.plugin.system.customfieldtypes:textsearchercom.atlassian.jira.plugin.system.customfieldtypes:userpickergroupsearchercom.atlassian.jira.plugin.system.customfieldtypes:versionsearcher
type
stringÂ
required
cascadingselect
: Enables values to be selected from two levels of select lists (value: com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect
)datepicker
: Stores a date using a picker control (value: com.atlassian.jira.plugin.system.customfieldtypes:datepicker
)datetime
: Stores a date with a time component (value: com.atlassian.jira.plugin.system.customfieldtypes:datetime
)float
: Stores and validates a numeric (floating point) input (value: com.atlassian.jira.plugin.system.customfieldtypes:float
)grouppicker
: Stores a user group using a picker control (value: com.atlassian.jira.plugin.system.customfieldtypes:grouppicker
)importid
: A read-only field that stores the ID the issue had in the system it was imported from (value: com.atlassian.jira.plugin.system.customfieldtypes:importid
)labels
: Stores labels (value: com.atlassian.jira.plugin.system.customfieldtypes:labels
)multicheckboxes
: Stores multiple values using checkboxes (value: ``)multigrouppicker
: Stores multiple user groups using a picker control (value: ``)multiselect
: Stores multiple values using a select list (value: com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes
)multiuserpicker
: Stores multiple users using a picker control (value: com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker
)multiversion
: Stores multiple versions from the versions available in a project using a picker control (value: com.atlassian.jira.plugin.system.customfieldtypes:multiversion
)project
: Stores a project from a list of projects that the user is permitted to view (value: com.atlassian.jira.plugin.system.customfieldtypes:project
)radiobuttons
: Stores a value using radio buttons (value: com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons
)readonlyfield
: Stores a read-only text value, which can only be populated via the API (value: com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield
)select
: Stores a value from a configurable list of options (value: com.atlassian.jira.plugin.system.customfieldtypes:select
)textarea
: Stores a long text string using a multiline text area (value: com.atlassian.jira.plugin.system.customfieldtypes:textarea
)textfield
: Stores a text string using a single-line text box (value: com.atlassian.jira.plugin.system.customfieldtypes:textfield
)url
: Stores a URL (value: com.atlassian.jira.plugin.system.customfieldtypes:url
)userpicker
: Stores a user using a picker control (value: com.atlassian.jira.plugin.system.customfieldtypes:userpicker
)version
: Stores a version using a picker control (value: com.atlassian.jira.plugin.system.customfieldtypes:version
)ari:cloud:ecosystem::extension/e62f20a2-4b61-4dbe-bfb9-9a88b5e3ac84/548c5df1-24aa-4f7c-bbbb-3038d947cb05/static/my-cf-type-key
.Examples
Responses
🟢201Returned if the custom field is created.
application/json
Body
Details about a field.
clauseNames
array[string]
optional
custom
booleanÂ
optional
id
stringÂ
optional
key
stringÂ
optional
name
stringÂ
optional
navigable
booleanÂ
optional
orderable
booleanÂ
optional
schema
objectÂ
optional
configuration
objectÂ
read-onlyoptional
custom
stringÂ
read-onlyoptional
customId
integer <int64>
read-onlyoptional
items
stringÂ
read-onlyoptional
system
stringÂ
read-onlyoptional
type
stringÂ
read-onlyrequired
scope
objectÂ
optional
project
objectÂ
read-onlyoptional
type
enum<string>Â
read-onlyoptional
Allowed values:
PROJECTTEMPLATE
Additional properties
integer  | number  | string  | booleanÂ
optional
searchable
booleanÂ
optional
🟠400Returned if:
* the user does not have permission to create custom fields.
* any of the request object properties have invalid or missing values.
Modified at 2023-07-13 03:27:27