Setting up triggers to automate workflows for Github, Bitbucket, and GitLab
Before you begin:
- Ensure that you’ve enabled the integration for Github, Bitbucket, or GitLab.
- Make sure you’ve linked your squad to at least one repository.
- Check to see that you have linked at least one item to a commit, pull request, or a branch.
With the Zepel’s integration with Git, you can move any item from one status to another in a board, or even from one board to another while staying in your regular workflow.
The event handlers in Zepel are setup on a per squad basis.
-
Once you’ve enabled the integration, go to the squad for which you want to setup event handlers.
-
Click on “Git Settings” from the left sidebar.
-
If you haven’t already, you’ll be prompted to link the squad to a repository before proceeding.
-
Click “Create new Git automation”.
-
Select the event you would like to listen for. Currently Zepel supports “Pull request opened”, “Pull request merged”, and “Commit added” events.
-
If you would like to setup this event for any branch, select “Any”. If you’re using a multi-branch development workflow, you can choose to enter the name of the branch where this event will occur.
Note: Branch names are case sensitive.
-
Next, select the status to which you’d like to move the linked item to when the event you selected occurs. If you have more than one board within the squad, the menu will auto populate with all the boards and its respective statuses for you to select.
-
Click “Create” to create this event handler.
-
You can create more event handlers and streamline your entire development process by clicking on “Add new”.
Further Reading: