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.
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.
Instructions for integrations (GitLab, GitHub, etc)
To enable/disable the Source Code Diff Viewing setting for all repositories within an integration:
-
Navigate to Manage Git repositories.
-
Add a new integration or edit existing integration’s settings
-
Locate the Source Code Diff Viewing setting.
-
Select Enabled or Disabled.
-
Click Update.
Example: Disabling Source Code Diff Viewing for an existing GitLab integration
Example: Disabling Source Code Diff Viewing at the repository level for an existing GitLab integration
Instructions for individual repositories
To enable/disable the Repository Browser for individual repositories:
-
Navigate to Manage Git repositories.
-
Add a new repository or edit existing repository’s settings.
-
Locate the Source Code Diff Viewing setting.
-
Select Enabled or Disabled.
-
Click Update.
Example: Disabling Source Code Diff Viewing for a repository
More How-to articles
How to create a HAR file and send it to support for analysis
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)