When anyone creates, updates, or deletes a feature or a scenario within your Jira project, the changes are pushed to your Bitbucket repository. To enable receiving changes from the Bitbucket (when someone pushes a commit to your repository with new feature changes) you will need to enable the "Post receive" hook called "Behave Pro Bitbucket Post Hook" within the Bitbucket repository settings.
Note: This post receive hook is enabled automatically when you finish the Behave Pro project set up flow in your Jira project.
First, navigate to the Bitbucket repository settings page and click on the "Hooks" in the left navigation menu.
Next, in the "Post receive" section at the bottom, find the Behave Pro hook named "Sync to Jira" and enable it.
That's all. Now if you push your commit to this repository, the Behave Pro for Jira will pick up the changes and updates any features if there were any changes.
Note! This works only if you have pushed the changes to the branch that is being used by the Behave Pro (the branch you have chosen during the project setup-up). If you are using branching workflow, this post receive hook will also work on those branches created when adding a scenario to a Jira issue.