Create multiple sub-tasks from JQL filter results using the Jira Command Line Interface (CLI) app
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
Create a filter called Demo with the JQL query as shown:
project = "Support Request" AND issuetype = Task AND resolution is EMPTY
- Create a text file (named as subtasks.txt in this example) with createIssue action, and specify the summary, parent, and type parameters as shown:
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.
, multiple selections available,
Related content
How to add multiple issues to different sprints using Jira Command Line Interface (CLI)
How to add multiple issues to different sprints using Jira Command Line Interface (CLI)
More like this
Auto create sub-task based on custom field selection
Auto create sub-task based on custom field selection
More like this
How to create subtasks on initial issue create
How to create subtasks on initial issue create
More like this
Link sub-task(s) of current ticket to new ticket in “Create / Clone issue(s) (JMWE)” post-function
Link sub-task(s) of current ticket to new ticket in “Create / Clone issue(s) (JMWE)” post-function
More like this
Create subtask - Cloud
Create subtask - Cloud
More like this
subtasks
subtasks
More like this