你好,我有一个问题想请教一下,我现在使用/rest/api/3/search/jql接口根据传入的不同的jql拿到issue的列表,我是用接口调用工具测试时,结果返回的状态是200但是数据为空。我在jira页面上使用相同的jql操作是有数据的,这是为什么,怎么解决?下面是我的curl
Welcome to the community.
@Sunny Ape is right here.
You api cal should be:
https://tngd-jira.atlassian.net/rest/api/3/search/jql?jql=project = EW AND issuetype IN ("Dev-Sub Task,Bug)&maxResults=5&fields=key,summary,status,assignee
posted in error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please don't just copy and paste responses that you have sourced from an AI, as they are often very wrong!
This POST endpoint is deprecated. Use the new GET /rest/api/3/search instead
Sorry, but that is completely wrong Alexander and you are providing misinformation on the topic.
The API endpoint you have referenced and told the OP to use was deprecated almost 9 months ago and, as a result, the cURL example you provided in step 2 of your answer cannot possibly work. If you had tested your own code yourself, you would have discovered that.
The endpoint that the OP is using (POST /rest/api/3/search/jql), which is the new Search for issues using JQL enhanced search endpoint, is 100% operational and absolutely has NOT been deprecated.
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.