Feature Flags
Get a Feature Flag by ID
Changed onRetrieve the currently stored Feature Flag data for the given ID.
The result will be what is currently stored, ignoring any pending updates or deletes.
get/rest/featureflags/0.1/flag/{featureFlagId}
Request
- Base URLhttps://your-domain.atlassian.net
- URLhttps://your-domain.atlassian.net/rest/featureflags/0.1/flag/{featureFlagId}
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: read:feature-flag-info:jira
Path parameters
featureFlagIdstring required
The ID of the Feature Flag to fetch.
Response
The Feature Flag data currently stored for the given ID.
Example response
{
"schemaVersion": "1.0",
"id": "111-222-333",
"key": "my-awesome-feature",
"updateSequenceId": 1523494301448,
"displayName": "Enable awesome feature",
"issueKeys": [
"ISSUE-123"
],
"associations": [
{
"associationType": "issueIdOrKeys",
"values": [
"ABC-123",
"ABC-456"
]
}
],
"summary": {
"url": "https://example.com/project/feature-123/summary",
"status": {
"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": {
"defaultValue": "Disabled",
"rollout": {
"percentage": 80
}
}
}
]
}Changes
- breaking
the response property
became optional for the status - info
the endpoint scheme security
OAuth2was added to the API - info
the endpoint scheme security
basicAuthwas added to the API - info
added the optional property
to the response with the status - info
response property
issueKeysdeprecated
- breaking
- info
endpoint added
- info