Versions Compared

Key

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

This article helps you in getting retrieve the list of project names, key, issues based on the date rangeupdated date using Jira Command Line Interface (CLI).

Instructions

You c

Using the below CLI command we can get the list of issues 

...

In this example, using the action getIssueList, one can retrieve the list of issues that were updated as per the date mentioned in the JQL. 

  • 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:

  • jql : Standard way to specify a search for issues in getIssueList, runFromIssueList, and similar CLI actions.


Info
  • 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.