You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: [STO-9671]: Enhance Exemption model and API for Global Exemptions (#166)
* feat: [STO-9671]: Enhance Exemption model and API for Global Exemptions
- Added OrgName and ProjectName fields to the Exemption struct.
- Introduced IsOccurrenceLevelExemption field in FrontendExemption struct.
- Created GlobalExemptionsRequestBody model for handling organization:project pairs.
- Updated FrontendGlobalExemptions API to accept a request body.
- Removed MatchesProject parameter from the tool and adjusted the request handling accordingly.
mcp.WithNumber("page", mcp.Description("Page number to fetch (starting from 0)"), mcp.Min(0), mcp.DefaultNumber(0)),
293
293
mcp.WithNumber("pageSize", mcp.Description("Number of results per page"), mcp.DefaultNumber(5)),
294
-
mcp.WithString("matchesProject", mcp.Description("Comma-separated list of organization:project pairs to filter exemptions by project scope (e.g., \"default:STO,default:CCM\").")),
294
+
295
295
mcp.WithString("status", mcp.Description("Required. Exemption status: Pending, Approved, Rejected, Expired. You must provide exactly one status.")),
296
296
mcp.WithString("search", mcp.Description(`Free-text search that matches both issue titles and exemption titles.
0 commit comments