Display feature flag information in Jira
Display feature flag information in Jira.
- https://docs.gitlab.com/ee/operations/feature_flags.html
- https://developer.atlassian.com/cloud/jira/software/modules/feature-flag/
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
- Feature flag module overview: https://developer.atlassian.com/cloud/jira/software/modules/feature-flag/
- Feature flag API docs: https://developer.atlassian.com/cloud/jira/software/rest/api-group-feature-flags/#api-group-feature-flags
Edited by Patrick Deuley