• About Bitbucket modules
  • API Proxy
  • Admin Page
  • Configure page
  • File Viewer
  • File editor
  • General Page
  • Linker
  • OAuth consumer
  • Post install redirect
  • Profile tab
  • Repo page
  • Web card
  • Web item
  • Web panel
  • Webhook

Admin Page

Used to show a link and full page within an admin section

Properties

key

Type
string
Max length
128
Required
Yes
Pattern
^[a-zA-Z0-9-]+$
Description

A key to identify this module. This key must be unique across all modules defined by your app.


location

Type
string
Allowed values
  • org.bitbucket.account.admin
  • org.bitbucket.repository.admin
  • Max length
    128
    Required
    Yes
    Description

    Location in the application interface.


    name

    Type
    I18n property
    Required
    Yes
    Description

    Represents a string that can be resolved via a localization properties file. You can use the same i18n Property key and value in multiple places, but identical keys must have identical values.

    Properties

    i18n
    Type
    string
    Description

    The localization key for i18n. You can use the i18n localization key in your apps, however, Bitbucket does not currently support localization.

    value
    Type
    string
    Description

    The human-readable value.


    url

    Type
    string
    Max length
    2048
    Format
    uri-template
    Required
    Yes

    conditions

    Type
    [Simple condition,Composition condition, ... ]
    Description

    Conditions control whether or not a module will be displayed based on the current context. See Conditions for more details


    icon

    Type
    Icon
    Description

    This is not fully supported yet. If specified, this will take precedence over any aui icon classes specified via params.auiIcon.

    Properties

    url
    Type
    string
    Required
    Yes
    height
    Type
    integer
    width
    Type
    integer

    params

    Type
    object

    tooltip

    Type
    I18n property
    Description

    Represents a string that can be resolved via a localization properties file. You can use the same i18n Property key and value in multiple places, but identical keys must have identical values.

    Properties

    i18n
    Type
    string
    Description

    The localization key for i18n. You can use the i18n localization key in your apps, however, Bitbucket does not currently support localization.

    value
    Type
    string
    Description

    The human-readable value.


    weight

    Type
    integer
    Description

    Determines the order in which the web item appears in the menu or list. The "lightest" weight (i.e., lowest number) appears first, rising relative to other items, while the "heaviest" weights sink to the bottom of the menu or list.


    • System status
    • Privacy
    • Developer Terms
    • Trademark
    • Cookie Preferences
    • © 2019 Atlassian