Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
Unknown
-
Description
When trying to use the Jira Count macro, the following error regarding the requested API being removed:
Failed to execute the [jiraCount] macro. Cause: [Error code = [410], Error message = The requested API has been removed. Please migrate to the /rest/api/3/search/jql API. A full migration guideline is available at https://developer.atlassian.com/changelog/#CHANGE-2046 URL = https://jeancloudvandamme.atlassian.net//rest/api/2/search?maxResults=0&jql=project+%3D+test+AND+created+%3E%3D+-72h]. Click on this message for details. .... Caused by: org.xwiki.contrib.jira.macro.JIRAConnectionException: Failed to parse JIRA JSON content [Failed to get JIRA content for https://jeancloudvandamme.atlassian.net//rest/api/2/search?maxResults=0&jql=project+%3D+test+AND+created+%3E%3D+-72h] at wiki:xwiki//org.xwiki.contrib.jira.macro.internal.HTTPJIRAFetcher.fetchJSON(HTTPJIRAFetcher.java:113) at wiki:xwiki//org.xwiki.contrib.jira.count.internal.JIRACountMacro.execute(JIRACountMacro.java:117) ... 183 more Caused by: org.xwiki.contrib.jira.macro.JIRAConnectionException: Error code = [410], Error message = The requested API has been removed. Please migrate to the /rest/api/3/search/jql API. A full migration guideline is available at https://developer.atlassian.com/changelog/#CHANGE-2046 URL = https://jeancloudvandamme.atlassian.net//rest/api/2/search?maxResults=0&jql=project+%3D+test+AND+created+%3E%3D+-72h
Tested using the latest version of Jira macro, 11.1.4 and XWiki 16.10.5