This article helps you to get 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.
Execute the below CLI command to return 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 for getIssueList, runFromIssueList, and similar CLI actions.
- Works from CLI v9.4 onwards.
- 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.