This article helps you retrieve the list of issues based on the updated date using Jira Command Line Interface (CLI).
Instructions
In this example, using the actions getIssueList and runFromProjectList, one can retrieve the list of issues that were updated as per the date mentioned in the JQL.
Run the CLI command that returns the list of issues in Issues.csv file.
If you are using Windows machine
--action runFromProjectList --input "--action getIssueList --jql ""\"project = @project@ AND updatedDate <= 2019-06-30\""" --file Issues.csv"
If you are using Linux machine
--action runFromProjectList --input "--action getIssueList --jql ""\"project = @project@ AND updatedDate <= 2019-06-30\""" --file Issues.csv"
The parameters used in the above script are:
- file : Name (or path) of the file specified in the command.
- jql : Standard way to specify a search for issues in getIssueList, runFromIssueList, and similar CLI actions.
- This scenario is applicable to CLI v9.4 and above.
- Make necessary changes to the JQL based on the requirement.
- The above commands work on a Linux machine. Make sure you update the syntax accordingly for Windows machines.