Forums

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

Jira Software REST API throws 404 errors

de de
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!
March 12, 2025

 

企业微信截图_1741791559927.png

企业微信截图_17417913976489.png

 

I'm using Postman to call the REST API /rest/api/2/workflow/search, but the program returns a 404 error. However, when I access /rest/api/2/workflow/, it works normally. Could you please tell me what the reason is? Thank you.

3 answers

0 votes
Sunny Ape
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.
March 15, 2025

Hello @de de 

If you really are using Jira CLOUD, then making a GET request to the the Get workflow paginated endpoint at /rest/api/2/workflow/search without declaring a value for the queryString parameter would not result in a 404 error, it would simply return every single workflow, since it was an unbounded search.

It's most likely you're using Jira DATA CENTER (we can't tell, as you've blurred that information in your screen grabs) and you've reading the wrong documentation, since that product doesn't have an API endpoint /rest/api/2/workflow/search 

0 votes
Marc - Devoteam
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.
March 12, 2025

Hi @de de 

As @Tuncay Senturk _Snapbytes_ mentions you need to specify search parameters.

This API doesn't work with out search parameters.

Example: /rest/api/latest/search?jql=issuekey%20IN%20updatedBy(%22*%22,%222024-10-30%22,%222024-11-11%22)

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
March 12, 2025

Hi @de de 

If you just call /rest/api/2/workflow/search without any parameters, it may return 404. Are you using any workflow name in the queryString?

Suggest an answer

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

Atlassian Community Events