-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Work Item - Archival
-
24
-
2
Issue Summary
Currently there is no official Jira REST API to list archived Jira issues, even though the unsupported Jira GraphQL API support this functionality and appears to be used by the Jira Cloud UI to list the archived issues:
query getArchivedIssuesForProjectQuery($cloudId: ID!, $searchBy: String, $filterBy: JiraArchivedIssuesFilterInput, $first: Int, $last: Int) { jira { getArchivedIssuesForProject( cloudId: $cloudId searchBy: $searchBy filterBy: $filterBy first: $first last: $last ) @optIn(to: "JiraGetArchivedIssuesForProjectQuery") { totalCount edges { node { id key webUrl summary createdField { dateTime } updatedField { dateTime } projectField { id name } reporter { accountId } isArchived archivedBy { accountId } archivedOn } } pageInfo { startCursor endCursor } errors { identifier message } emptyConnectionReason { message } } } }
The current export endpoint doesn’t work because it’s async and sends the data via email download link:
- Export archived issue(s): Download a CSV file containing details of all archived issues.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available