Ending Connect support
Bitbucket Cloud is gradually ending support for Connect apps.
New Bitbucket apps built with Connect can no longer be registered or installed on workspaces as of Februrary 2, 2026.
Forge is now the Atlassian Cloud's primary platform for extensions. Get started with Forge
Flags are the primary method for providing system feedback in the product’s user interface. Messages include notifications of various kinds: alerts, confirmations, notices, warnings, info, and errors.
For visual examples of each flag, see the Design guide.
1 2var flag = AP.flag.create({ title: 'Successfully created a flag.', body: 'This is a flag.', type: 'success', actions: { 'actionkey': 'Click me' } });
Creates a new flag.
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| options | Object |
Options of the flag. Properties
|
Returns: Flag~Flag
Closes the flag.
1 2var flag = AP.flag.create({ title: 'Successfully created a flag.', body: 'This is a flag.', type: 'info' }); // Close the flag. flag.close()
Rate this page: