Skip to end of banner
Go to start of banner

How to retrieve list of issues based on the 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 9 Next »

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. 

  1. Execute the below CLI command to return the list of issues in Issues.csv file.

    1. If you are using Windows machine

       --action runFromProjectList --input "--action getIssueList --jql ""\"project = @project@ AND updatedDate <= 2019-06-30\""" --file Issues.csv"
    2. 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.
  • No labels