April 30th 1 PM ET

Git Integration for Jira Self-Managed (Data Center/Server) Documentation

Configure Source Code Diff Viewing

By default – integrations (GitLab, GitHub, etc) and individual repositories have Source Code Diff Viewing enabled. Jira administrators can disable all user’s access to source code viewing by integration or individual repository.

Related features
Enabling or disabling the Source Code Diff Viewing setting for an integration or repository will limit repository source code displaying in:

  • Git Commits issue tab: View full commit button is removed.
  • Git Roll Up issue tab: Diff page: shows information message.
  • Repository Browser: Browse page: shows information message.
  • Repository Browser: Compare page: View full commit button is removed.
  • Git Commits project tab: View full commit button is removed.

Jira users must have the View Development Tools permission in the context of a Jira project to view content from the Git Integration for Jira app.

 

Instructions for integrations (GitLab, GitHub, etc)

To enable/disable the Source Code Diff Viewing setting for all repositories within an integration:

  1. Navigate to Manage Git repositories.

  2. Add a new integration or edit existing integration’s settings

  3. Locate the Source Code Diff Viewing setting.

  4. Select Enabled or Disabled.

  5. Click Update.

 

Example: Disabling Source Code Diff Viewing for an existing GitLab integration

Right click here to open this video in a new browser tab for more viewing options.

 

Example: Disabling Source Code Diff Viewing at the repository level for an existing GitLab integration

Right click here to open this video in a new browser tab for more viewing options.

 

Instructions for individual repositories

To enable/disable the Repository Browser for individual repositories:

  1. Navigate to Manage Git repositories.

  2. Add a new repository or edit existing repository’s settings.

  3. Locate the Source Code Diff Viewing setting.

  4. Select Enabled or Disabled.

  5. Click Update.

 

Example: Disabling Source Code Diff Viewing for a repository

Right click here to open this video in a new browser tab for more viewing options.

 

More How-to articles

How to get a quote?

Setting Project Permissions

How to create a HAR file and send it to support for analysis

Working with Custom API Path

Working with JMESPath Filters

Configure Source Code Diff Viewing (this page)

Creating and configuring SSH keys (Windows/MacOS/Linux)

Require Personal Access Tokens for user actions (create branch/pull request)

Ways to Index Git Data to Jira Issues

Proxy settings on adding integrations (except AWS CodeCommit)

Creating Personal Access Tokens

Have feedback about this article? Did we miss something? Let us know!
On this page