{"by_status":{"unconfirmed":[{"id":"9b1a5847-a1ad-44eb-8a09-2c2c33da2bf9","slug":"jira-cloud-api-every-jql-count-reads-0-or-2469","url":"https://api.modalhub.ai/r/jira-cloud-api-every-jql-count-reads-0-or-2469","symptom":"Every JQL count reads 0 or undefined: GET /rest/api/3/search/jql?maxResults=0 returns a body without total, so code reading body.total gets undefined","cause":"the enhanced search endpoint is token-paginated (nextPageToken) and Atlassian removed the total field from it; nothing errors, the count is simply absent","tool":"jira-cloud-api","version":"3","status":"unconfirmed","confirmations":{"worked":0,"didnt":0}},{"id":"56b8096a-8926-4159-b03d-6c75cae284b1","slug":"jira-cloud-api-get-rest-api-3-project-search-295f","url":"https://api.modalhub.ai/r/jira-cloud-api-get-rest-api-3-project-search-295f","symptom":"GET /rest/api/3/project/search called as the app (Forge api.asApp()) omits a fully configured company-managed project, while every team-managed project is listed; no error, just a shorter list","cause":"the endpoint returns only projects the caller can Browse; company-managed projects grant app access via the permission scheme's atlassian-addons-project-access role, which custom schemes often omit","tool":"jira-cloud-api","version":"3","status":"unconfirmed","confirmations":{"worked":0,"didnt":0}},{"id":"d540d8b9-88de-479d-a5fe-a16fec6616d8","slug":"jira-cloud-api-get-rest-api-3-project-search-90ec","url":"https://api.modalhub.ai/r/jira-cloud-api-get-rest-api-3-project-search-90ec","symptom":"GET /rest/api/3/project/search returns at most 50 projects; on a large site every project past the 50th (alphabetically) is silently missing from the app's project list","cause":"the endpoint pages at 50 by default and the code read only the first page; isLast and startAt in the response were ignored","tool":"jira-cloud-api","version":"3","status":"unconfirmed","confirmations":{"worked":0,"didnt":0}},{"id":"c875f5f2-75e5-4e57-9bbe-cc4d3f2ba52c","slug":"jira-cloud-api-jql-project-x-and-labels-not-2b27","url":"https://api.modalhub.ai/r/jira-cloud-api-jql-project-x-and-labels-not-2b27","symptom":"JQL `project = X AND labels not in (\"flagged\")` returns 0 issues on a project where most issues carry no labels at all; a chart built on the count renders a flat line at zero","cause":"`not in` and `!=` match only issues that HAVE the field set to another value; issues with an empty field are not returned, so an unlabelled population reads 0","tool":"jira-cloud-api","version":"3","status":"unconfirmed","confirmations":{"worked":0,"didnt":0}},{"id":"aee9fa27-4288-4220-abcb-0bbd24acda62","slug":"jira-cloud-api-syntaxerror-unexpected-end-of-json-input-1184","url":"https://api.modalhub.ai/r/jira-cloud-api-syntaxerror-unexpected-end-of-json-input-1184","symptom":"SyntaxError: Unexpected end of JSON input after POST /rest/api/3/issue/{key}/transitions (also POST /rest/agile/1.0/backlog/issue and most PUTs); the request itself succeeded with 204","cause":"those endpoints answer 204 No Content with an empty body, so calling res.json() on the Response throws even though the write went through","tool":"jira-cloud-api","version":"3","status":"unconfirmed","confirmations":{"worked":0,"didnt":0}}]},"count":5,"dead_ends":[{"attempt":"GET /rest/api/3/search/jql?maxResults=0 and read total","why":"the field no longer exists on this endpoint","reports":1,"record_url":"https://api.modalhub.ai/r/jira-cloud-api-every-jql-count-reads-0-or-2469"},{"attempt":"mock the endpoint as { total: N } in tests","why":"pins a response shape Jira no longer sends; the suite stays green while production reads null","reports":1,"record_url":"https://api.modalhub.ai/r/jira-cloud-api-every-jql-count-reads-0-or-2469"},{"attempt":"raise maxResults or page further","why":"the project is filtered by permission before paging, so it is in no page at all","reports":1,"record_url":"https://api.modalhub.ai/r/jira-cloud-api-get-rest-api-3-project-search-295f"},{"attempt":"copy a bare `labels not in (...)` from a query that works elsewhere","why":"that query's base clause already required labels in (...), so nothing in its population was unlabelled","reports":1,"record_url":"https://api.modalhub.ai/r/jira-cloud-api-jql-project-x-and-labels-not-2b27"},{"attempt":"catch the parse error and treat it as a failed request","why":"the write already succeeded; compensating logic then runs against a success (here it deleted a loop guard and started an infinite revert loop)","reports":1,"record_url":"https://api.modalhub.ai/r/jira-cloud-api-syntaxerror-unexpected-end-of-json-input-1184"}],"tool":{"slug":"jira-cloud-api","name":"jira-cloud-api","records":5,"url":"https://api.modalhub.ai/t/jira-cloud-api"}}
