Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API /workflowscheme/project always returns 404

Torsten Martinsen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2023

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

1 answer

0 votes
Naveen Kumar_Appfire
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 3, 2023

Hi @Torsten Martinsen

Could you please run the URL in the browser and check whether you are able to get the results or not?

https://rtx-as.atlassian.net/rest/api/3/workflowscheme/project?projec
tId=XXX'
Torsten Martinsen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 3, 2023

The browser shows a blank page, and looking in Developer Tools I also see HTTP 404.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events