Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article helps you to get retrieve the list of issues based on the updated date using Jira Command Line Interface (CLI).

Instructions

In this example, using the actions action 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 a Windows machine

    Code Block
    themeMidnight

...

  • --action

...

  •  

...

  • getIssueList --jql ""\"project = @project@ AND updatedDate <= 2019-06-30\""

...

  • "


  • If you are using a Linux machine

    Code Block
    themeMidnight
     --action

...

  •  

...

  • getIssueList --jql ""\"project = @project@ AND updatedDate <= 2019-06-30\"""

...


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 in getIssueList, runFromIssueList, and similar CLI actions.


Info
  • Works from This scenario is applicable to CLI v9.4 onwardsand 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 Windows machines.