Set Story Feature Flag Relevance
set-story-feature-flag-relevanceSet whether a feature flag is relevant to a user story (mutating, idempotent). Identify the story with storyOrdinalId (US- numeric id) or storyId, plus flagKey and state. PINNED makes the flag relevant to the story even before any test runs it (its arms then show as untested until covered). EXCLUDED hides the flag from the story. AUTO removes the override so relevance is derived from tests again. Returns {state}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"flagKey": "<flagKey>",
"state": "<state>"
},
"name": "set-story-feature-flag-relevance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | No | QA bots: your botId from your stored TestChimp binding. | |
| state | Yes | ||
| flagKey | Yes | ||
| storyId | No | ||
| projectId | No | The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret. | |
| projectApiKey | No | Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it. | |
| storyOrdinalId | No |