> For the complete documentation index, see [llms.txt](https://help.codegrade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.codegrade.com/setup-assignment/build-assignment/creating-an-assignment/importing-a-previous-assignment.md).

# Importing a previous assignment

Most of the times, it is not necessary to set up a whole assignment from scratch. In CodeGrade, you can simply import / copy a previous assignment's settings to your current assignment.&#x20;

{% hint style="success" %}
For the D2L Brightspace learning management system, using the built in "Duplicate Assignment" option will automatically import all assignment settings in CodeGrade correctly too.
{% endhint %}

<figure><img src="/files/9HDXdZyV1v1zxljxc175" alt=""><figcaption><p>Importing an assignment on the Assignment Manager</p></figcaption></figure>

1. Navigate to the **Assignment Settings** page and go to the **General** tab.
2. Scroll all the way down to the "*Danger Zone*", here you can find the *Copy Assignment* option.
3. First select the course from which you want to import an assignment. Secondly, select an assignment from the list of assignments in that course.
4. Press **Import**. All assignment settings will be copied to the current assignment now (including AutoTest, rubric, hand in requirements, submission settings, test submission, etc.).
