The Feature flag object type represents a feature flag object. atlassian:feature-flag should be used to
ingest feature flag-specific fields.
1 2objects {} ├─ schemaVersion (string) [Required] ├─ id (string) [Required] ├─ updateSequenceNumber (long) [Required] ├─ displayName (string) [Optional] ├─ description (string) [Optional] ├─ url (string) [Optional] ├─ createdAt (Instant (ISO8601 / RFC3339)) [Optional] └─ createdBy (userReference) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Optional] └─ lastUpdatedAt (Instant (ISO8601 / RFC3339)) [Optional] └─ lastUpdatedBy (userReference) [Optional] ├─ accountId (string) [Optional] ├─ email (string) [Optional] └─ externalId (string) [Optional] └─ permissions [] [Required] └─ accessControls └─ principals └─type └─ associations [] [Optional] ├─ associationType (string) └─ values [] atlassian:feature-flag ├─ key (string) [Required] ├─ updateSequenceId (number) [Optional] ├─ summary (FeatureFlagSummary) [Required] ├─ url (string) [Optional] ├─ status (FeatureFlagStatus) [Required] ├─ enabled (boolean) [Required] ├─ defaultValue (string) [Optional] └─ rollout (FeatureFlagRollout) [Optional] ├─ percentage (number) [Optional] ├─ text (string) [Optional] └─ rules (number) [Optional] └─ lastUpdated (string) [Required] └─ details (List<FeatureFlagDetails>) [Required] ├─ url (string) [Optional] ├─ lastUpdated (string) [Required] ├─ status (FeatureFlagStatus) [Required] ├─ enabled (boolean) [Required] ├─ defaultValue (string) [Optional] └─ rollout (FeatureFlagRollout) [Optional] ├─ percentage (number) [Optional] ├─ text (string) [Optional] └─ rules (number) [Optional] └─ environment (FeatureFlagEnvironment) [Optional] ├─ name (string) [Required] └─ type (EnvironmentType) [Optional]
Feature flags can be associated with repositories or other related objects using associations or containerKey.
| Property | Type | Required | Description |
|---|---|---|---|
schemaVersion |
| Yes | The schema version of the object. |
id |
| Yes | The ID of the object in the source system. |
updateSequenceNumber | long | Yes | A sequence number to compare when writing to the database. Objects are written following
a last write wins strategy, therefore an object with a greater UpdateSequenceNumber
is considered a more recently updated object. |
displayName | string | No | The display name of the object. |
description | string | No | The description of the object. |
url | string | No | The URL from the provider which the object is accessible from. |
createdAt | string | No |
The date the object was created. Format: Instant (ISO8601 / RFC3339) |
createdBy | userReference | No |
A reference to the user that created the object. See userReference to learn more. |
lastUpdatedAt | string | No |
The date the object was last updated. Format: Instant (ISO8601 / RFC3339) |
lastUpdatedBy | userReference | No |
A reference to the user that last updated the object. See userReference to learn more. |
owners | list<userReference> | No | List of references of users that own the object. |
thumbnail | thumbnail | No |
The thumbnail of the object. See Thumbnail to learn more. |
parentKey | entityKey | No |
The ID of the parent object. If null, it is a standalone object. See Entity key to learn more. |
containerKey | entityKey | No |
The container identifier that this object belongs to. See Entity key to learn more. |
permissions | list<Permissions> | Yes |
The permissions configuration of the object. See Permissions to learn more. |
associations | association | No |
List of objects associated with the object. Generally used to link an external object to a Atlassian object. See Association to learn more. |
| Property | Type | Required | Description |
|---|---|---|---|
key |
| Yes | The unique identifier for the feature flag. This is the key that identifies the feature flag in the feature flag management system. |
updateSequenceId |
| No | A sequence identifier for the feature flag update. This can be used to track the order of updates to the feature flag. |
summary |
| Yes | A summary of the feature flag including its status and last update time. |
summary.url | string | No | The URL where the feature flag can be viewed or managed. |
summary.status | FeatureFlagStatus | Yes | The status of the feature flag including whether it's enabled and its rollout information. |
summary.status.enabled | boolean | Yes | Indicates whether the feature flag is enabled or disabled. |
summary.status.defaultValue | string | No | The default value for the feature flag when it's not explicitly set. |
summary.status.rollout | FeatureFlagRollout | No | Information about the rollout strategy for the feature flag. |
summary.status.rollout.percentage | number | No | The percentage of users or traffic that the feature flag is rolled out to. |
summary.status.rollout.text | string | No | A text description of the rollout strategy. |
summary.status.rollout.rules | number | No | The number of rules defined for the feature flag rollout. |
summary.lastUpdated | string | Yes | The timestamp when the feature flag was last updated in ISO8601 format. |
details | List<FeatureFlagDetails> | Yes | Detailed information about the feature flag across different environments. |
details.url | string | No | The URL where detailed information about the feature flag in this environment can be viewed. |
details.lastUpdated | string | Yes | The timestamp when the feature flag in this environment was last updated in ISO8601 format. |
details.status | FeatureFlagStatus | Yes | The status of the feature flag in this specific environment. |
details.status.enabled | boolean | Yes | Indicates whether the feature flag is enabled in this environment. |
details.status.defaultValue | string | No | The default value for the feature flag in this environment. |
details.status.rollout | FeatureFlagRollout | No | Information about the rollout strategy for the feature flag in this environment. |
details.status.rollout.percentage | number | No | The percentage of users or traffic that the feature flag is rolled out to in this environment. |
details.status.rollout.text | string | No | A text description of the rollout strategy in this environment. |
details.status.rollout.rules | number | No | The number of rules defined for the feature flag rollout in this environment. |
details.environment | FeatureFlagEnvironment | No | Information about the environment where this feature flag is deployed. |
details.environment.name | string | Yes | The name of the environment (e.g., "Production", "Staging"). |
details.environment.type | string | No |
The type of environment. Allowed values: |
1 2{ "objects" : [ { "schemaVersion" : "2.0", "id" : "feature-flag-1", "updateSequenceNumber" : 1, "displayName" : "New Checkout Flow", "description" : "Feature flag controlling the new checkout flow", "url" : "https://featureflag.example.com/flags/new-checkout-flow", "createdAt" : "2024-07-01T05:00:45Z", "createdBy" : { "externalId" : "external-id-1" }, "lastUpdatedAt" : "2024-07-09T14:27:37.000Z", "lastUpdatedBy" : { "externalId" : "external-id-1" }, "permissions" : [ { "accessControls" : [ { "principals" : [ { "type" : "ATLASSIAN_WORKSPACE" } ] } ] } ], "atlassian:feature-flag" : { "key" : "new-checkout-flow", "updateSequenceId" : 123, "summary" : { "url" : "https://featureflag.example.com/flags/new-checkout-flow", "status" : { "enabled" : true, "defaultValue" : "true", "rollout" : { "percentage" : 50, "text" : "Rolled out to 50% of users", "rules" : 2 } }, "lastUpdated" : "2024-07-09T14:27:37.000Z" }, "details" : [ { "url" : "https://featureflag.example.com/flags/new-checkout-flow/production", "lastUpdated" : "2024-07-09T14:27:37.000Z", "status" : { "enabled" : true, "defaultValue" : "true", "rollout" : { "percentage" : 50, "text" : "Rolled out to 50% of users", "rules" : 2 } }, "environment" : { "name" : "Production", "type" : "PRODUCTION" } }, { "url" : "https://featureflag.example.com/flags/new-checkout-flow/staging", "lastUpdated" : "2024-07-08T10:15:22.000Z", "status" : { "enabled" : true, "defaultValue" : "true", "rollout" : { "percentage" : 100, "text" : "Fully rolled out", "rules" : 1 } }, "environment" : { "name" : "Staging", "type" : "STAGING" } } ] } } ] }
Rate this page: