# Pushing Data to Bitbucket Repository

## Push Method in Avo Assure

The Push method in Avo Assure sends the latest test artifacts to the Bitbucket repository. It is used in the following scenarios:

* Creating new test artifacts, such as Element Repository, Test Cases, Data Tables, or Execution Lists.
* Updating or modify existing test artifacts to save the latest version in Bitbucket.
* Sharing updated test artifacts with the team through Bitbucket.
* Maintaining version history of automation assets for safety and traceability.

### Pushing Test cases to Bitbucket Repository

From Avo Assure, the following test artifact data can be pushed to Bitbucket for version control:

* Element Repository
* Test Case
* Data Table
* Execution List

{% hint style="info" %}
**Note**: The steps remain the same for all artifacts. Navigate to the respective artifact page, select the required data or parent folder, and push it to Bitbucket.
{% endhint %}

To push Test cases to Bitbucket Repository, perform the following actions:

1. On the **Home** page, under **Projects**, select the required **Project**.&#x20;
2. Select **Design** Studio.
3. Select the **Test Case** tab and locate the **Bitbucket** icon.
4. Select the **Bitbucket** icon and then select **Push**. The **Commit Test Cases** dialog opens.

<figure><img src="/files/CGfZXJch7PNhHhxpkwdm" alt=""><figcaption></figcaption></figure>

5. Search and select **Test Case** or **Test Case Folder**.

{% hint style="info" %}
**Note**:

* The following information applies only to the **Test Case** page.
  * If a Test case contains associated Test Data and you want to push both to the Bitbucket repository, select the corresponding Test cases.
* The following information applies to all artifacts.
  * When the **Show only modified Test Cases** toggle is enabled, only untracked or modified Test Case artifacts are displayed.
  * If you want to push all artifact data to the Bitbucket repository, use the **Select All** check box available on the left-down of the **Push Test Cases** dialog.
    {% endhint %}

<figure><img src="/files/9H8oeRNr0RvW53bJf6lz" alt=""><figcaption></figcaption></figure>

6. Select the Bitbucket **Branch** and in the **Push message** text box, enter push related message.
7. Select **Push** to send the Avo Assure Test Case or Test Case Folder to the Bitbucket repository.

{% hint style="info" %}
**Note**:

* During the process of pushing test artifacts to Bitbucket, the Avo Assure Client Console provides real-time updates throughout the commit phase, showing the ongoing progress. Once the commit is completed successfully, a single push is triggered automatically to Bitbucket.
* The following notes apply only to the **Test Case** tab:
  * If a Test Case includes elements from the **Element Repository** and you want to push those elements to the Bitbucket repository as well, enable the **Push associated Element Repository** option.
  * If a Test Case includes Data Table content used for data parameterization and you want to push that data to the Bitbucket repository as well, enable the **Push associated Data Table** option.
  * You can now view the total number of Test cases selected before pushing them to Bitbucket.
    {% endhint %}

<figure><img src="/files/7zUq813jCjsBj0OMZr4C" alt=""><figcaption></figcaption></figure>

8. After selecting **Push**, a toast message appears on the screen: **Successfully pushed**. The Client console also provides a confirmation message indicating whether all test artifacts were successfully pushed to Bitbucket.

<figure><img src="/files/NoUqiBaCWPkd9PImQtRL" alt=""><figcaption></figcaption></figure>

### Pushing Data Table to Bitbucket Repository&#x20;

To push Data Table to Bitbucket Repository, perform the following actions:

1. On the **Home** page, under **Projects**, select the required **Project**.&#x20;
2. From the **Settings** card, select the **Manage Integrations**.
3. Select **Test Data Management** page.
4. Select **Bitbucket** icon and select **Pull** method.

<figure><img src="/files/4gMP6iz0NgaD1WmO537v" alt=""><figcaption></figcaption></figure>

5. Search and select **Data Table** or **Data Table folder**.

{% hint style="info" %}
**Note**:

* When the **Show only modified Utility Datatable** toggle is enabled, only untracked Data Table artifacts are displayed.
* To push the entire Data Table to the Bitbucket repository, use the **Select All** check box option available on the left-side of the **Push Data Tables** dialog.
  {% endhint %}

<figure><img src="/files/d0iNLGtwOYorDTlStd8H" alt=""><figcaption></figcaption></figure>

6. Select **Bitbucket Branch.**
7. In the **Push message** text box, enter push related message.
8. Select **Push** to send the Avo Assure Data Table or Data Table Folder to the Bitbucket repository.

<figure><img src="/files/uv2uR9Lrzu2FDpLpDIw9" alt=""><figcaption></figcaption></figure>

9. After selecting **Push**, a toast message appears on the screen: **Successfully pushed**.

<figure><img src="/files/vdnzvn1e1Wa4jcomnFlQ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/integrations-in-avo-assure/versioning/bitbucket/setting-up-bitbucket-in-avo-assure/pushing-data-to-bitbucket-repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
