In this guide, we’ll show you how to create sub-tasks for UpStream projects.

A sub-task is a task that needs to be completed before the main task is be considered complete.

Here’s one example:

- **Task**: Fix the website bug
  - **Sub-task**: Test your bug fix in Chrome
  - **Sub-task**: Test your bug fix in Firefox
  - **Sub-task**: Test your bug fix in Safari

The approach the UpStream takes for sub-tasks relies on [the Custom Fields add-on](https://upstreamplugin.com/extensions/custom-fields/). Before completing this guide, please read [this guide on using Custom Fields](https://support.upstreamplugin.com/hc/upstream-plugin/articles/add-custom-fields).

Let me walk you through an example of how this can work. I’m going to use the example outlined above for fixing a website bug.

First, let’s create the fields we’ll use for sub-tasks:

- Install UpStream and set up a project. Also install the Custom Fields add-on.
- Go to “Projects, then “Custom Fields”.
- Click “New Custom Field”.
- Enter “Safari” as the Title.
- Choose “Checkboxes” as the Field Type.

![Creating a new sub-task field](https://support.kelsiem.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBcWdPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--b260275aeaf5025d7840ad537972b73c44793e6d/checkbox.png)

- For the Options, you can enter the Yes / No choices. In the example below, I choose the “Not tested in Safari yet” option as the default.

![Choices for a new sub-task field](https://support.kelsiem.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBc0lPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f7fd2c2fd32df9ffb449e68bbaf5f66577bd27e7/safari-custom-field-options.png)

- On the right sidebar, this field is assigned to “Bugs” and I chose to make it “Filterable”:

![Options for a new sub-task field](https://support.kelsiem.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBc1lPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--65aabd776e48ed026e0f17595c15373866439b2e/sub-task-custom-options.png)

- Save the field.
- Repeat this process for Chrome and Firefox.
- You will now have 3 fields that can be used for your sub-tasks:

![New sub-task fields](https://support.kelsiem.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBc2dPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e1873d5e0da5d30bc70b6e48dc130bb5b6a4fdd3/sub-task-fields.png)

- Go to the frontend of your site and look for a project.
- Scroll down to the “Bugs” area.
- Either edit an existing Bug or create a new Bug. You’ll be able to specify whether sub-tasks have been completed:

![Completed sub-task field](https://support.kelsiem.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBc1FPIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e4fd804c48d0fd8ef0e546273095177528b310bc/sub-task-choices.png)