Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Source

Linux macOS Windows

Checks whether one or more Jira issues are ready for purging, based on their status history and that of any linked revision issues. An issue qualifies once it has passed through (or currently sits in) one of: “Pending openICPSR”, “Assess openICPSR”, “Pending Publication”, or “Delete NDA data”.

jira-purge-query aearep-NNNN [aearep-MMMM ...]

Issues that qualify but still have subtasks that are not Done are reported as WARNING rather than OK: they count as ready for purge but are listed in a separate section instead of on the READY: line.

OptionDescription
-v, -vvShow status history; -vv adds link details
-q, --quietPrint only the keys of issues ready for purge
-l, --with-linkPrint a Jira browse link for each ready issue in the summary
-s, --report-sizeReport the size of a local directory named after each issue (off by default)

With --report-size, each issue’s output includes the size of the directory in the current working directory whose name matches the normalized key in any case (aearep-1234, AEAREP-1234, ...), or none. The summary adds the total size in MB of those directories for the READY and WARNING categories. Sizes are computed in Python, so the option works the same under Linux, macOS, and Windows (cmd, PowerShell, Git Bash); symlinks and junctions are not followed. Large directories make the run slower.

Requires JIRA_USERNAME and JIRA_API_KEY (see Authentication).