Problem
Customer deployments using Jira admin-console webhooks encounter three related failures:
- Generic Jira webhook payloads omit
cloudId, so verification uses the stack-wide fallback secret. Re-running bgagent jira setup updates the tenant bundle but leaves an already-configured fallback unchanged, causing 401 signature failures after rotation.
- The webhook processor posts failure comments for projects that are not mapped to ABCA before checking trigger admission, creating comments from ordinary Jira create/update activity.
- A linked account can still appear unlinked when the webhook actor differs from the account that was linked; current diagnostics do not make the selected actor identity/source clear.
Acceptance criteria
- A sole active Jira tenant can rotate its webhook secret without repeating OAuth; tenant and stack-wide secrets remain synchronized.
- Multi-tenant admin-console webhook configuration fails clearly because payloads without
cloudId cannot select a per-tenant secret.
- Events from unmapped Jira projects never post ABCA comments.
- Mapped projects only receive failure feedback after the configured trigger is explicitly asserted.
- User-link diagnostics identify which Jira account and payload field were used for attribution.
- Setup/troubleshooting documentation and focused tests cover rotation and admission behavior.
Problem
Customer deployments using Jira admin-console webhooks encounter three related failures:
cloudId, so verification uses the stack-wide fallback secret. Re-runningbgagent jira setupupdates the tenant bundle but leaves an already-configured fallback unchanged, causing 401 signature failures after rotation.Acceptance criteria
cloudIdcannot select a per-tenant secret.