Create multiple sub-tasks from JQL filter results using the Jira Command Line Interface (CLI) app

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

Instructions

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

    project = "Support Request" AND issuetype = Task AND resolution is EMPTY
  2. Create a text file (named as subtasks.txt in this example) with createIssue action, and specify the summaryparent, and type parameters as shown:
  3. Combine the runFromIssueList and run actions, Demo filter, and, the text file to create multiple sub-tasks from the JQL results. This example works because the text file contains the createIssue action with the relevant parameters.

    --action runFromIssueList --jql "filter = Demo" --common "--action run --file "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 deploying.



Find answers from the community.

Ask a question to the community.

Log a request with our support team.


Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2022 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.