Git Repository integration
Last updated
Was this helpful?
Last updated
Was this helpful?
With the integration of Git, repository management becomes highly practical and efficient. We currently support integration with Azure DevOps, GitLab, and GitHub. Whether you're merging branches, tracking changes, or rolling back to previous versions, you can track all these changes seamlessly within your Jira instance. This integration allows you to easily track repositories, branches, commits, and pull requests.
Our Git integration app for Jira is available at the following link: Git Connector for Jira.
If you're already using a Getint integration app (Azure DevOps, GitLab, or GitHub), you don't need to download the Git Connector app to sync the git repositories of the already installed app.
Navigate to Apps, launch the app Git Connector for Jira, go to Integrations, click Create Integration, and select GIT.
If you’re using Getint On-Premise, simply launch the app, click Create Integration, and select GIT.
Select the app you want to integrate by clicking the Connect App button.
Create a connection or select an existing one.
Follow the next steps depending on the app you selected. We’re taking GitLab as an example, but the process is the same for the rest of the connectors.
Once you've added your details, you'll find your new connection in the dropdown list of available connections. Please select it and click Connect to complete the process.
For detailed instructions on creating a connection and generating an access token, please refer to our comprehensive guide: Connections | Tokens and Requirements.
Make sure you are logged in with admin rights, then click on Connect App and select Jira. Choose Create New to establish a fresh connection with your Jira instance and enter the URL of your Jira instance.
Unlike Continuous Syncs or Migrations, GIT integrations require users to set up an OAuth in your Jira instance. Follow our guide to configure a Jira OAuth at the following: Connection | Jira OAuth.
Enter the necessary details to establish the connection.
Once you've added your details, you'll find your new connection in the dropdown list of available connections. Please select it and click Connect to complete the process.
By default, the Git repositories will sync with all projects in your Jira instance. However, unchecking this option allows you to select one or multiple projects where you want this information to be available.
For example, you can select specific projects based on your company’s needs. Next, choose the Git repositories you want to sync. Finally, name your integration and click Create at the top right corner of the screen to save it.
Once you've created your integration, it will be easily accessible in the Integrations section within Workflows, and it is marked with a code icon.
To start syncing branches, ensure that you use the ID of the Jira task as a prefix for the branch names. For branch names, only underscores or dashes can be used instead of spaces. For example ED-23-resolve-support-ticket-9843-migrate.
For example, if you’re syncing an item with the Jira ID ED-23, your branch should be named ED-23 + branch name, as shown below:
If the correct naming prefix is not used to sync your items, an error like the one below will occur:
The Git repository information will be accessible from the Development field within your Jira items.
By clicking on this field, you can easily access all the information that is being collected from the repositories.
Getint allows you to sync Repositories, Branches, Commits, and Pull requests.
With this comprehensive guide, you can seamlessly integrate Git with Jira and take full advantage of efficient repository management. If you require any assistance or have further questions, don't hesitate to contact us here.