Get fields in trash paginated
GET
/rest/api/3/field/search/trashed
Issue fields
type
must be set to custom
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/field/search/trashed'
Response Response Example
200 - Success
{
"maxResults": 50,
"startAt": 0,
"total": 1,
"isLast": false,
"values": [
{
"id": "customfield_10000",
"name": "Approvers",
"schema": {
"type": "array",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker",
"customId": 10003
},
"description": "Contains users needed for approval. This custom field was created by Jira Service Desk.",
"key": "customfield_10003",
"trashedDate": "2019-09-12T10:10:00.905+0000",
"trashedBy": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"accountId": "5b10a2844c20165700ede21g",
"emailAddress": "mia@example.com",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32"
},
"displayName": "Mia Krystof",
"active": true,
"timeZone": "Australia/Sydney"
},
"plannedDeletionDate": "2019-09-30T10:10:00.905+0000"
}
]
}
Request
Query Params
startAt
integerÂ
optional
maxResults
integerÂ
optional
id
array[string]
optional
query
stringÂ
optional
expand
stringÂ
optional
orderBy
stringÂ
optional
name
sorts by the field nametrashDate
sorts by the date the field was moved to the trashplannedDeletionDate
sorts by the planned deletion dateResponses
Modified at 2023-07-13 03:27:27