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 of issues using Jira Command Line Interface (CLI).

Instructions

In this example, using the actions getIssueList and runFromProjectList you can extract action getIssueList, one can retrieve the list of issues that were updated before 2019-06-30 into a CSV file. 

...

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 for 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.