You can no longer publish Connect apps on the Atlassian Marketplace. All new extensibility features will be delivered only on Forge.
Refer to this blog post for our timeline to end Connect support.
Have an existing Connect app? You can incrementally migrate it to Forge.
Flags are the primary method for providing system feedback in the product user interface. Messages include notifications of various kinds: alerts, confirmations, notices, warnings, info and errors.
Creates a new flag.
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | Object | Options of the flag. Properties
|
1 2// Display a nice green flag using the Flags JavaScript API. var flag = AP.flag.create({ title: 'Successfully created a flag.', body: 'This is a flag.', type: 'success', actions: { 'actionkey': 'Click me' } });
Rate this page: