how to create subtask inside a task using jql ?

anurag parmar March 10, 2015

I have created 40 tasks and then I have same set of subtasks for that 40 tasks. Is there any way using JQL I can create sub tasks (like some command which can create subtask if we provide the main task ID inside the JQL) ?

2 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 10, 2015

JQL is for finding issues, it doesn't do anything with them.

You need to find/write something that will create subtasks on an issue (have a look in the marketplace) when you do something with the issue - a common one is to create subtasks on a transition (if you do that with your workflow, then you can use JQL to find many issues to do it to, and use bulk-edit to push them through the transtion that creates the subtasks)

1 vote
SanaS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2015

Hi,

JQL is only used for searching and filtering, not actually creating issues. For that you can modify the workflow to create a subtask in a transition (for instance to the same status) and then you can bulk transition all those tasks.

Suggest an answer

Log in or Sign up to answer