I am trying to use the endpoint described at
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-scheme-project-associations/#api-rest-api-3-workflowscheme-project-get
I have tested with curl on various projects. The documentation states "Any team-managed or non-existent projects in the request are ignored and no errors are returned" - but whether I specify a company-managed project, a team-managed project, or a nonexistent project, I just get HTTP 404.
Example:
$ curl -i --request GET --url 'https://rtx-as.atlassian.net/rest/api/3/workflowscheme/project?projec
tId=XXX' --user '[REDACTED]' --header 'Accept: application/json'
HTTP/2 404
date: Tue, 03 Oct 2023 06:45:55 GMT
content-type: text/html;charset=UTF-8
server: AtlassianEdge
timing-allow-origin: *
x-arequestid: da70e8ac31362c9226f0b698f06885c2
set-cookie: atlassian.xsrf.token=30da23d7dff3640e99317ec897a798ea933172f1_lin; Path=/; SameSite=None; Secure
x-aaccountid: [REDACTED]
cache-control: no-cache, no-store, no-transform
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
atl-traceid: adebccb87506d565
report-to: {"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}
nel: {"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}
strict-transport-security: max-age=63072000; includeSubDomains; preload