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.
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
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.