Skip to end of banner
Go to start of banner

How to retrieve the list of issues based on updatedDate using Jira Command Line Interface (CLI)

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

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.
  • No labels