GET Project Custom Field
GET /admin/project/{projectId}/customfield/{customFieldName}
Get a project's custom field by its name.
GET /rest/admin/project/{projectId}/customfield/{customFieldName}
Name | Type | Description |
---|---|---|
projectId | projectByIdNotStrict | ID of a project. |
customFieldName | string | Name of a custom field to get. |
Samples
GET /rest/admin/project/{projID}/customfield/State
xml
<projectCustomField name="State" type="state[1]" emptyText="No State" canBeEmpty="false">
<defaultValue>Submitted</defaultValue>
</projectCustomField>
Please note, that in some cases issue fields might have several default values:
xml
<projectCustomField name="FixVersions" type="version[*]" emptyText="Unscheduled" canBeEmpty="true">
<defaultValue>22</defaultValue>
<defaultValue>34</defaultValue>
<defaultValue>ww</defaultValue>
</projectCustomField>
Last modified: 2 February 2017