For instructions on setting up the Version Control System of your choice, please expand the one desired below:
GitHub
Setting up the GitHub integration in Shortcut
- In the Shortcut app, click the Integrations icon in the lower left corner, and then select GitHub.
- Click Add Account.
Setting up the integration in GitHub
After clicking Add Account in Shortcut, you will be taken to GitHub to select which GitHub account to link. From this next screen, you can authorize access to all repositories in the account, or only select repositories.
Successful installation of our integration requires the user performing this action to be an Admin in both Shortcut and GitHub. Additionally, while the GitHub integration will connect to multiple Workspaces, it will only connect with one Organization at a time.
Once all, or the select repos have been selected, click Install. You will be redirected back to Shortcut with the GitHub integration window reflecting the newly connected account:
Connecting Individual Accounts
Individuals will need to ensure that their primary email address in GitHub is the same as one of their email addresses in Shortcut. In GitHub, check your personal account settings, under the email tab.
If this is not the same email address used to create your Shortcut account, you'll need to add that email address to Shortcut.
GitHub Event Handlers
GitLab
Setting up the integration in Shortcut
Only Admins and Owners can activate this integration in Shortcut. In the Shortcut app, click the Integrations option in the lower left corner of the UI, and then click GitLab. Click the Slider to enable, then copy the GitLab Payload URL and open your GitLab account.In GitLab, choose specific Projects that you want to send data to Shortcut, or if your GitLab.com plan supports Group Webhooks, you can send data from every Project in the Group. From the Project page (or Group page), click Settings >Webhooks, then paste the GitLab Payload URL into the Integrations URL field.
Next, check that the correct events will be sent to Shortcut. Click the checkbox for:
- Push Events
- Comments
- Merge request events
You may optionally include Confidential Comments.
If you are not using GitLab's Group webhooks, be sure that you've added the GitLab Payload URL to the Webhook Settings for each Project that should send data to Shortcut. Add user(s) email address as public in GitLab in order for Shortcut's event handler to determine which GitLab user performed certain actions in Shortcut, we match the email from GitLab payload to that of the Shortcut user. Ensure that the public email in Settings (click on the user icon options) > Edit Profile is set to the appropriate email for the user in Shortcut.
Access Token
1. Create a new user on your GitLab.com organization. Consider using a name that signifies this user connects GitLab to Shortcut, like 'Shortcut Bot'.
2. In GitLab, invite your bot user to the Projects that you want Shortcut to access, and grant that user Developer permissions.
3. Log in with the bot user account and open the User Settings.
4. Generate a personal access token scoped to have API access
5. Copy the personal access token and paste it into the API Access Token field in the GitLab integration pane. Click Update API Access Token to save the token value.
GitLab Event Handlers
BitBucket
Setting up the integration in Shortcut
Only Admins and Owners can activate this integration in Shortcut. In the Shortcut app, click the Integrations icon near the bottom-left of the UI, and then select Bitbucket. Click "Connect to Bitbucket Cloud" to begin the authorization process.Next, authorize the Bitbucket account you would like to connect to the Shortcut Workspace.
When you’ve successfully authorized Shortcut to access your Bitbucket account you’ll see which Bitbucket account Shortcut is connected to in the integrations screen.
BitBucket Event Handlers
Updated