Operations with Specific ProjectCustomField
This resource lets you access and configure custom fields in the specific project.
Resource | /api/admin/projects/{projectID}/customFields/{fieldID} |
Returned entity | ProjectCustomField. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
ProjectCustomField attributes
Represents settings for custom fields in a particular project.
Related Resources
Below you can find the list of resources that let you work with this entity.
Attributes
This table describes attributes of the ProjectCustomField
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the project custom field. |
field | CustomField | The custom field in the project. |
project | Project | The project where the custom field belongs. |
canBeEmpty | Boolean | If |
emptyFieldText | String | The text that is shown as a placeholder when the custom field has an empty value. |
ordinal | Int | The position number of this field on the list of project custom fields. |
isPublic | Boolean | If |
hasRunningJob | Boolean | If |
condition | CustomFieldCondition | The condition for showing the custom field. |
Update a Specific ProjectCustomField
Change the settings of the specific custom field in the project.
Required permissions
Requires permissions: Update Project
Request syntax
{fieldID} | The database ID of the project custom field. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of ProjectCustomField attributes that should be returned in the response. If no field is specified, only the |
Sample
Sample request
Sample request body
Sample response body
Read a Specific ProjectCustomField
Get the settings of the specific custom field in the project.
Required permissions
If the field is public, requires Create Issue or Read Issue permission.
If the field is private, requires Read Issue Private Fields permission.
Request syntax
{fieldID} | The database ID of the project custom field. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of ProjectCustomField attributes that should be returned in the response. If no field is specified, only the |
Sample
Sample request
Sample response body
Delete a Specific ProjectCustomField
Remove the specific custom field from the project.
Required permissions
Requires permissions: Update Project
Request syntax
{fieldID} | The database ID of the project custom field. |
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of ProjectCustomField attributes that should be returned in the response. If no field is specified, only the |