# Synchronisaton of subtasks with aqua

### What needs to prepared?

1. If you're already synchronising Jira's items with the Requirements and or you would like to separate your Subtask in your aqua's element repository please create a new folder in aqua where you will store all your subtasks:

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FYxNI0975LBVY45SOnBZF%2Fimage.png?alt=media&#x26;token=63285949-755c-4341-a2f6-39e96f19123f" alt=""><figcaption></figcaption></figure>

2. Move to the project configuration template and add separate ID field (e.g. Parent ID):

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FMF3JyW2qfWPWlzSRQJzX%2Fimage%20(4).png?alt=media&#x26;token=3b89cf9f-192a-4fd3-bae0-d85692052794" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Make sure that you have activated the field with double click - by clicking on the red dot next to this new field
{% endhint %}

### Setting up the synchronisation:

1. Follow the same steps as in the video [First synchronisation setup](https://docs.aqua-cloud.io/documentation/integrations/jira-sync-synchronize-items-between-aqua-and-jira-projects/first-synchronisation-setup):
2. After you entered the server name, provided the jira user with Api Token the configuration should be read successfully. - for the data center it's your Jira's credentials not API token
3. Next step is to adjust the path and choose the correct item type:

<div align="center"><figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FMdLimPXY1ci7CBQtGTDw%2Fimage.png?alt=media&#x26;token=9c8cf6dc-b376-4205-a267-190ea114fb20" alt=""><figcaption></figcaption></figure></div>

6. After it's done, you need to adjust the Parent ID field that you created previously:

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2Fzotk0u0NpnXDEScNfNB2%2Fimage.png?alt=media&#x26;token=a08096be-f568-487c-98c5-c0929451bdbc" alt=""><figcaption></figcaption></figure>

7. Then you can continue with mapping the fields and enjoy your subtask synchronisation.&#x20;

{% hint style="info" %}
Make sure you name your synchronisation in a way that will help you easily locate this later:
{% endhint %}

<div align="center" data-full-width="false"><figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FDiO0ERcCiJ9kyDsdykcb%2Fimage.png?alt=media&#x26;token=c634b8e8-9dfb-4482-aa90-04c6eee72865" alt=""><figcaption></figcaption></figure></div>
