Versions Compared

Key

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

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 JQL query.:

    Code Block
    project = "Support Request" AND issuetype = Task AND resolution is EMPTY


  2. Create a text file with CreateIssue action and filled out fill the required data with parent , type , summary parameters.:
  3. Combine the actions runFromIssueList runFromIssueList and run to create multiple sub-tasks for JQL results.

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



Info

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