Manually Run Git Re-Synchronization

Manually trigger git re-synchronization for Behave Pro to update features from your git repository.

Alan Parkinson avatar
Written by Alan Parkinson
Updated over a week ago

If you have connected your git repository to a Jira project via Behave Pro, you may not see all of your features on the specifications page. This can be caused by syntax errors in your missing feature files.

Note! Make sure you have enabled synchronization from your git repository. Behave Pro can't update specifications page nor the acceptance criteria unless a webhook has been received about the changes.

See instructions for Bitbucket here or for GitLab here.

When Behave Pro connects to your git repository, it will trigger a re-synchronization. This will pull the feature files from your repository, parse it, and store them in Behave Pro, making them available to you on acceptance criteria or on the specifications page.

You can browse the exact reason why the feature file failed to synchronize on the "Sync Errors" page located in the project settings. See the Browse feature synchronization errors article.

You can manually trigger re-synchronization by going to the Jira project settings, selecting "Behave Pro" from the left navigation menu.

On the Behave Pro project settings page, click the [Configure] button on "Git Connector" item located at the top.

Next, click the [...] icon located in the right top corner and select "Resync".

A resynchronization dialog will appear as shown below.

Click the [Resync] button and the re-synchronization will begin. This may take few seconds to complete.

If your git repository contains any feature files with syntax errors, they will not be able to import. If you see any errors as shown below in the screenshot, no real synchronization happened at this point. Due to the found errors, no real update has happened yet.

If you select "Skip errors and continue" and press the [Resync] button, Behave Pro will ignore any feature file that contains syntax errors and will only proceed with the syntactically valid files. After the re-synchronization, you will see a confirmation as shown below.

You can now click the [Finish] button and the re-synchronization is completed.

Did this answer your question?