Sub-task issues are useful for splitting up a parent issue into a number of tasks which can be assigned and tracked separately. Splitting issues into smaller tasks often provides a better picture of the progress on the issue, and allows each person involved in resolving the issue to better understand what part of the process they are responsible for.
親課題に関連付けられているすべてのサブタスクは、親課題のメイン画面上に要約されます (以下の「サブタスクで作業する」を参照してください)。サブタスクは、必ず親課題と同じプロジェクトに属します。
サブタスクのフィールドは、標準課題とまったく同じです。たとえば、要約、説明、報告者、担当者、ステータスなどです。サブタスクには、標準課題のタイプとは異なる課題タイプのセットがあるので注意してください。
サブタスクは、自分自身のサブタスクを持つことはできません。しかし、サブタスクをより小さなサブタスクに分割する必要がある場合、まず、サブタスクを標準課題に変換することによって、これを実現できます。その後、この標準課題のサブタスクを作成できます。
サブタスクの作成
To create sub-tasks, you will need to have the 'Create Issue' permission in the parent issue's project. Also note that sub-tasks can only be created if your JIRA administrator has enabled sub-tasks and added the sub-task issue type to the project's issue type scheme.
サブタスクを作成する手順は、次のとおりです:
- Navigate to the issue which you would like to be the parent issue of the sub-task you are about to create.
- From the 'More Actions' drop-down menu, select 'Create Sub-Task'. You will see the 'Create Subtask' screen.
- Fill in the details as needed, and then click the 'Create' button at the bottom of the page.
Tip: You can customise the 'Create Subtask' dialog to show fields you use most often. To do this, at the top right corner of the dialog, click the 'Configure Fields' button, and use the 'All' and 'Custom' links to switch between the default screen and your custom settings. Your changes will be saved for future use.
Note that there is no option to set security on a sub-task, as sub-tasks inherit their parent issue's security levels if any have been set.
What a sub-task looks like
In the following screenshot, the sub-task is DEMO-6 (Enter competition) and its parent issue is DOVE-3 (Win 'homing dove' contest). Both belong to the Demonstration project.
Screenshot: Example sub-task
subtasks-viewnew_4-1.png
サブタスクで作業する
If an issue has sub-tasks, then the issue screen will show a list of all the issue's sub-tasks:
Screenshot: An Issue's Sub-Tasks
subtasks-view_4-2.png
- Show open sub-tasks only. – The sub-task list has two views: 'All' and 'Open'. The All view lists all sub-tasks, regardless of status, while the Open view only shows sub-tasks that have not been resolved (i.e. do not have a Resolution ). You can switch views by clicking the 'All' and 'Open' links.
- Time-tracking. – The coloured bars show the time-tracking data for the issue and its sub-tasks.
- Reorder sub-tasks. – You can reorder sub-tasks, for example, organise the list in the order of intended execution or priority. Hover your mouse over the sub-task you wish to move, and use the 'up' and 'down' arrows that will appear.
- Perform actions on sub-tasks. – To preform actions on the sub-tasks, e.g. 'Assign Issue', 'Resolve Issue', 'Close Issue', 'Reopen Issue', hover your mouse over the sub-task you wish to action, and click the 'Actions' drop-down menu link that appears.
- Quickly create sub-tasks. – Once an issue has one or more sub-tasks, you can quickly create additional sub-tasks by clicking the '+' icon.
サブタスクを検索する
When sub-tasks are enabled, two extra entries will appear in the 'Issue Type' drop-down list in the Issue Navigator's search form. These entries are: 'Standard Issue Types' and 'Sub-Task Issue Types'.
- To search standard issues only, click the Standard Issue Types entry.
- To search sub-task issues only, click Sub-Task Issue Types entry.
- 課題またはサブタスク課題の特定の1つのタイプを検索するには、1つの課題タイプまたは1つのサブ課題タイプのみを選択します。
If no entries are selected from the 'Issue Type' drop-down then the search will return all the standard issues and sub-task issues that meet the rest of the search criteria.
Once you have added the 'Sub-Tasks' column to your Issue Navigator, the search results indicate sub-task issues by displaying the parent issue's issue key above the sub-task's summary, as shown below:
subtasks-searching_4-2.png
Adding the 'Sub-Tasks' column to your Issue Navigator
To add the 'Sub-Tasks' column to your Issue Navigator as shown in the above screenshot, please see Customising your Issue Navigator columns.
標準課題をサブタスクに変換する
- Navigate to the issue which you would like convert to a sub-task.
- From the 'More Actions' drop-down menu, select 'Convert to sub-task'.
- The 'Step 1. Select Parent Issue and Sub-Task Type' screen will be displayed. Type or select the appropriate parent issue type, select the new issue type (i.e. a sub-task issue type) and click the 'Next' button.
- If the issue's current status is not an allowed status for the new issue type, the 'Step 2. Select New Status' screen will be displayed. Select a new status and click the 'Next' button.
- The 'Step 3. Update Fields' screen will be displayed. If the new issue type requires any additional fields, you will be prompted to enter them (otherwise you will see the message 'All fields will be updated automatically'). Click the 'Next' button.
- The 'Step 4. Confirmation' screen will be displayed. If you are satisfied with the new details for the issue, click the 'Finish' button.
- The issue will be displayed. You will see that it is now a sub-task, that is, its parent's issue number is now displayed at the top of the screen (see 'Creating a sub-task' above).
Note that you will not be able to convert an issue to a sub-task if the issue has sub-tasks of its own. You will first need to convert the issue's sub-tasks to standalone issues (see below); you can then convert them to sub-tasks of another issue if you wish. Sub-tasks cannot be moved directly from one issue to another — you will need to convert them to standard issues, then to sub-tasks of their new parent issue.
サブタスクを標準課題に変換する
- Navigate to the sub-task issue which you would like convert to a standard issue.
- Select 'Convert to issue' from the 'More Actions' drop-down menu.
- The 'Step 1. Select Issue Type' screen will be displayed. Select a new issue type (i.e. a standard issue type) and click the 'Next' button.
- If the sub-task's current status is not an allowed status for the new issue type, the 'Step 2. Select New Status' screen will be displayed. Select a new status and click the 'Next' button.
- The 'Step 3. Update Fields' screen will be displayed. If the new issue type requires any additional fields, you will be prompted to enter them (otherwise you will see the message 'All fields will be updated automatically'). Click the 'Next' button.
- The 'Step 4. Confirmation' screen will be displayed. If you are satisfied with the new details for the issue, click the 'Finish' button.
- 課題が表示されます。親課題の番号が画面の上部に表示されなくなり、これがサブタスクではなくなったことがわかります。