Skip to end of banner
Go to start of banner

Create multiple sub-tasks for JQL filter results 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 6 Next »

This article explains how to create multiple sub-tasks for JQL filter results using Jira Command Line Interface (CLI).

Instructions

  1. Create a filter called Demo with required JQL query as shown below:

    project = "Support Request" AND issuetype = Task AND resolution is EMPTY
  2. Create a text file with createIssue action and fill the required data with summaryparenttype parameters as shown in the following screenshot:
  3. Combine the actions runFromIssueList and run with Demo filter and text file to create multiple sub-tasks for JQL results. This example works because the text file contains createIssue action and it has the relevant parameters.

    --action runFromIssueList --jql "filter = Demo" --common "--action run --file "/Users/appfireuser001/Documents/subtasks.txt" "


It is recommended to test this scenario in a test environment or run the action with the --simulate parameter to verify the behavior before implementing it in production.

  • No labels