Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Object types
Object operations
User operations
Group operations
Last updated Nov 20, 2025

Feature flag

The Feature flag object type represents a feature flag object. atlassian:feature-flag should be used to ingest feature flag-specific fields.

Payload structure

1
2
  objects {}
  ├─ 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.

Common properties

PropertyTypeRequiredDescription
schemaVersion

string

YesThe schema version of the object.
id

string

YesThe ID of the object in the source system.
updateSequenceNumberlongYesA 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.
displayNamestringNoThe display name of the object.
descriptionstringNoThe description of the object.
urlstringNoThe URL from the provider which the object is accessible from.
createdAtstringNo

The date the object was created.

Format: Instant (ISO8601 / RFC3339)

createdByuserReferenceNo

A reference to the user that created the object.

See userReference to learn more.

lastUpdatedAtstringNo

The date the object was last updated.

Format: Instant (ISO8601 / RFC3339)

lastUpdatedByuserReferenceNo

A reference to the user that last updated the object.

See userReference to learn more.

ownerslist<userReference>NoList of references of users that own the object.
thumbnailthumbnailNo

The thumbnail of the object.

See Thumbnail to learn more.

parentKeyentityKeyNo

The ID of the parent object. If null, it is a standalone object.

See Entity key to learn more.

containerKeyentityKeyNo

The container identifier that this object belongs to.

See Entity key to learn more.

permissionslist<Permissions>Yes

The permissions configuration of the object.

See Permissions to learn more.

associationsassociationNo

List of objects associated with the object. Generally used to link an external object to a Atlassian object.

See Association to learn more.

Feature flag properties

PropertyTypeRequiredDescription
key

string

Yes

The unique identifier for the feature flag. This is the key that identifies the feature flag in the feature flag management system.

updateSequenceId

number

No

A sequence identifier for the feature flag update. This can be used to track the order of updates to the feature flag.

summary

FeatureFlagSummary

Yes

A summary of the feature flag including its status and last update time.

summary.urlstringNo

The URL where the feature flag can be viewed or managed.

summary.statusFeatureFlagStatusYes

The status of the feature flag including whether it's enabled and its rollout information.

summary.status.enabledbooleanYes

Indicates whether the feature flag is enabled or disabled.

summary.status.defaultValuestringNo

The default value for the feature flag when it's not explicitly set.

summary.status.rolloutFeatureFlagRolloutNo

Information about the rollout strategy for the feature flag.

summary.status.rollout.percentagenumberNo

The percentage of users or traffic that the feature flag is rolled out to.

summary.status.rollout.textstringNo

A text description of the rollout strategy.

summary.status.rollout.rulesnumberNo

The number of rules defined for the feature flag rollout.

summary.lastUpdatedstringYes

The timestamp when the feature flag was last updated in ISO8601 format.

detailsList<FeatureFlagDetails>Yes

Detailed information about the feature flag across different environments.

details.urlstringNo

The URL where detailed information about the feature flag in this environment can be viewed.

details.lastUpdatedstringYes

The timestamp when the feature flag in this environment was last updated in ISO8601 format.

details.statusFeatureFlagStatusYes

The status of the feature flag in this specific environment.

details.status.enabledbooleanYes

Indicates whether the feature flag is enabled in this environment.

details.status.defaultValuestringNo

The default value for the feature flag in this environment.

details.status.rolloutFeatureFlagRolloutNo

Information about the rollout strategy for the feature flag in this environment.

details.status.rollout.percentagenumberNo

The percentage of users or traffic that the feature flag is rolled out to in this environment.

details.status.rollout.textstringNo

A text description of the rollout strategy in this environment.

details.status.rollout.rulesnumberNo

The number of rules defined for the feature flag rollout in this environment.

details.environmentFeatureFlagEnvironmentNo

Information about the environment where this feature flag is deployed.

details.environment.namestringYes

The name of the environment (e.g., "Production", "Staging").

details.environment.typestringNo

The type of environment.

Allowed values: DEVELOPMENT, TESTING, STAGING, PRODUCTION

Example payload

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: