Skip to content

Display feature flag information in Jira

Display feature flag information in Jira.

Example payload

curl --request POST \
  --url 'https://your-domain.atlassian.net/rest/featureflags/0.1/bulk' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "properties": {
    "accountId": "account-234",
    "projectId": "project-123"
  },
  "flags": [
    {
      "schemaVersion": "1.0",
      "id": "111-222-333",
      "key": "my-awesome-feature",
      "updateSequenceId": 1523494301448,
      "displayName": "Enable awesome feature",
      "issueKeys": [
        "ISSUE-123"
      ],
      "summary": {
        "url": "https://example.com/project/feature-123/summary",
        "status": {
          "enabled": true,
          "defaultValue": "Disabled",
          "rollout": {
            "percentage": 80
          }
        },
        "lastUpdated": "2018-01-20T23:27:25.000Z"
      },
      "details": [
        {
          "url": "https://example.com/project/feature-123/production",
          "lastUpdated": "2018-01-20T23:27:25.000Z",
          "environment": {
            "name": "prod-us-west",
            "type": "production"
          },
          "status": {
            "enabled": true,
            "defaultValue": "Disabled",
            "rollout": {
              "percentage": 80
            }
          }
        }
      ]
    }
  ],
  "providerMetadata": {
    "product": "Atlassian Release Platform 2.1.0"
  }
}'

Resources

Edited by Patrick Deuley