- Review and approve changes before they are merged
- Enforce branch protection rules on repositories like GitHub or Bitbucket
Pull request support is only available for projects connected to an external Git provider. It’s not supported for Prophecy-managed Git.
Enable pull request template
To use pull requests in a project, you need to enable pull request templates for that project.- Open your project metadata.
- Open the Settings tab.
- Next to Pull Request Template, toggle on the Enabled button.
- Review the template URL.

{{source}} variable represents the active development branch, and the {{destination}} variable represents the base branch to which the development branches need to be merged to, like main.
Template examples
- GitHub
- Bitbucket
Using this template:An example pull request URL generated from the above template for merging a branch named
feature
to branch main would look like:Open pull request in Prophecy
After you have enabled pull requests for a project, you will see the option to create pull requests directly in Prophecy. When you open the Git dialog of a project:- The Merge step will be replaced by an Open Pull Request step.
- The Open Pull Request button on this screen will open an external pull request in a new tab.
If you run into issues, ensure that your PR template is configured correctly.
- Return to the Open Pull Request step of the Git dialog.
- Click Merged Externally.
- Click Confirm.

Set Version Before Merge
When your base branch (such asmain) is protected, direct commits are not allowed. This can interfere with release processes that rely on version bumps made directly on the main branch after merging.
To support these workflows, Prophecy now allows you to set the next version before merging your development branch.
When Pull Request Template is enabled for a project:
- In the Git dialog, go to the Open Pull Request step.
- Select the Incremental Project Version checkbox.
- Select a version or type a new version. This sets the version of your development branch.
- Open the pull request and merge your changes. The base branch now has the correct version.

