Bitbucket Server web resource contexts

If you are writing a plugin for Bitbucket Server, more than likely you will need to inject custom resources such as CSS or JavaScript into pages which are core to the application.

See Web Resource Plugin Module for more information on how to use the web resource context.

Available contexts

We do not recommend using the standard atl.general context unless you actually need to inject resources on every page in Bitbucket Server. Please scope your resources to the pages that need them.

ContextDescriptionSince
atl.generalAll non-admin pages1.0
atl.adminAll admin pages1.0
bitbucket.page.aboutAbout page4.0
bitbucket.page.admin.authenticationAdmin authentication settings page4.0
bitbucket.page.admin.avatarsAdmin avatars settings page4.0
bitbucket.page.admin.editDbConfigAdmin database edit configuration page4.0
bitbucket.page.admin.globalPermissionsAdmin global permissions page4.0
bitbucket.page.admin.groups.editAdmin group edit page4.0
bitbucket.page.admin.groups.listAdmin group listing page4.0
bitbucket.page.admin.licenseAdmin license page4.0
bitbucket.page.admin.license.editAdmin edit license page4.0
bitbucket.page.admin.loggingAdmin logging page4.0
bitbucket.page.admin.mailServerAdmin mail server settings page4.0
bitbucket.page.admin.serverAdmin server settings page4.0
bitbucket.page.admin.users.createAdmin user creation page4.0
bitbucket.page.admin.users.editAdmin user edit page4.0
bitbucket.page.admin.users.listAdmin user listing page4.0
bitbucket.page.branch.creationBranch creation page4.0
bitbucket.page.branch.creation.noaccessBranch creation page (no write access to any repo)4.0
bitbucket.page.backupBackup page4.0
bitbucket.page.compareCompare page4.0
bitbucket.page.dbAdmin database settings page4.0
bitbucket.page.errorsGeneric error page (401, 403, 404, 500, etc)4.0
bitbucket.page.gettingstartedWelcome page for first-time Bitbucket Server users4.0
bitbucket.page.globalRepositoryListGlobal repository list page4.0
bitbucket.page.loginLogin page4.0
bitbucket.page.logoutLogout page4.0
bitbucket.page.maintenance.lockLocked for maintenance page4.0
bitbucket.page.migrationDatabase migration page4.0
bitbucket.page.project.auditLogProject audit log page4.0
bitbucket.page.project.createProject creation page4.0
bitbucket.page.project.generalSettingsProject settings page4.0
bitbucket.page.project.overviewProject overview page (repository listing)4.0
bitbucket.page.project.permissionsProject permissions page4.0
bitbucket.page.projectListProject listing page4.0
bitbucket.page.pullRequest.listPull request listing page4.0
bitbucket.page.pullRequest.viewPull request view page4.0
bitbucket.page.repository.auditLogRepository audit log page4.0
bitbucket.page.repository.branchesRepository branches page4.0
bitbucket.page.repository.branchPermissionsRepository branch permissions page4.0
bitbucket.page.repository.commitRepository commit page4.0
bitbucket.page.repository.commitsRepository commit listing page4.0
bitbucket.page.repository.createCreate new repository page4.0
bitbucket.page.repository.emptyRepository is empty page4.0
bitbucket.page.repository.filebrowserRepository file browser page4.0
bitbucket.page.repository.fileContentRepository file content page (source and diff view)4.0
bitbucket.page.repository.forkCreate a fork of a repository4.0
bitbucket.page.repository.generalSettingsRepository details page (in the Repository's settings)4.0
bitbucket.page.repository.noDefaultBranchRepository page when no default branch is set in the Git repository4.0
bitbucket.page.repository.permissionsRepository-level permissions page4.0
bitbucket.page.repository.settings.hooksRepository hooks configuration page4.0
bitbucket.page.repository.settings.pullRequestsRepository pull-request settings4.0
bitbucket.page.repository.settings.refSyncRepository ref-sync settings page4.0
bitbucket.page.resetUserPasswordReset user password page4.0
bitbucket.page.setup.adminUserbitbucket.setup: configure admin user4.0
bitbucket.page.setup.databasebitbucket.setup: configure database4.0
bitbucket.page.setup.jiraIntegrationbitbucket.setup: configure Jira integration4.0
bitbucket.page.setup.settingsbitbucket.setup: configure settings4.0
bitbucket.page.signupUser signup page4.0
bitbucket.page.ssh.key.addAdd public SSH key4.0
bitbucket.page.user.account.passwordUser account password page.4.0
bitbucket.page.user.account.settingsUser account details page.4.0
bitbucket.page.user.notification.settingsUser account notification settings page.4.0
bitbucket.page.user.repository.notification.settingsUser account watched repositories settings page.5.10
bitbucket.page.user.profileProfile page when viewed by any user.4.0
bitbucket.page.user.profile.selfProfile page when viewed by the currently logged in user.4.0
bitbucket.page.user.profile.othersProfile page when viewed by a user other than the currently logged in one.4.0
bitbucket.page.xsrfNotificationXSRF token missing notification page4.0
bitbucket.feature.files.fileHandlersFile handlers to handle rendering the source of a file or the diff of a file changed4.0