Issue fields
Get fields in trash paginated
Returns a paginated list of fields in the trash. The list may be restricted to fields whose field name or description partially match a string.
Only custom fields can be queried, type must be set to custom.
Permissions required: Administer Jira global permission.
get/rest/api/2/field/search/trashed
Query parameters
startAtinteger
The index of the first item to return in a page of results (page offset).
maxResultsinteger
The maximum number of items to return per page.
idstring[]
querystring
String used to perform a case-insensitive partial match with field names or descriptions.
expand'name' | '-name' | '+name' | 'trashDate' | '-trashDate' | '+trashDate' | 'plannedDeletionDate' | '-plannedDeletionDate' | '+plannedDeletionDate' | 'projectsCount' | '-projectsCount' | '+projectsCount'
orderBystring
Order the results by a field:
- name sorts by the field name
- trashDate sorts by the date the field was moved to the trash
- plannedDeletionDate sorts by the planned deletion date
Response
Returned if the request is successful.