This issue has been created
There is 1 update.
 
 
JIRA Components / cid:jira-generated-image-avatar-90c2668a-947d-48e0-b939-56fc6a3a7b3e JIRA-103 Open

JIRA API endpoint deprecation

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b62fcf4a-b932-4d90-a303-f462957009a7 Lari Orpana created this issue on 05/Jan/26 12:55
 
Summary: JIRA API endpoint deprecation
Issue Type: cid:jira-generated-image-avatar-90c2668a-947d-48e0-b939-56fc6a3a7b3e Task
Affects Versions: 11.1.2
Assignee: Unassigned
Components: API
Created: 05/Jan/26 12:55
Labels: deprecation
Priority: cid:jira-generated-image-static-minor-569fd7de-10c8-4fe8-a73c-3b4de3018505 Minor
Reporter: Lari Orpana
Description:

Hello,

Based on Jira publication https://developer.atlassian.com/changelog/#CHANGE-2046 the following Jira API endpoint is soon going to be deprecated and removed. It is used in JIRAURLHelper.java (github link) and tests.

/rest/api/2/search

Jira is replacing the endpoint with /rest/api/3/search/jql (documentation link)

 

I am unsure if this will affect the macro functionality. Jira macro seems to use legacy "Search request view" (defined in JIRAURLHelper.java):

/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml 

 

 

Endpoint should be updated to prevent problems from its removal. It is unsure if this will affect other currently used endpoints.

 
 

1 update

 
cid:jira-generated-image-avatar-b62fcf4a-b932-4d90-a303-f462957009a7 Changes by Lari Orpana on 05/Jan/26 12:55
 
Description: Hello,

Based on Jira publication [https://developer.atlassian.com/changelog/#CHANGE-2046] the following Jira API endpoint is soon going to be deprecated and removed. It is used in JIRAURLHelper.java ([github link|https://github.com/xwiki-contrib/jira/blob/master/jira-macro/jira-macro-common/src/main/java/org/xwiki/contrib/jira/macro/internal/JIRAURLHelper.java]) and tests.
{code:java}
/rest/api/2/search{code}
Jira is replacing the endpoint with */rest/api/3/search/jql* ([documentation link|https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get])

 

I am unsure if this will affect the macro functionality. Jira macro seems to use legacy "[Search request view|https://developer.atlassian.com/server/jira/platform/search-request-view/]" (defined in JIRAURLHelper.java):

{code:java}
/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml {code}
 

 

Endpoint should be updated to prevent problems from its removal. It is unsure if this will affect other currently used endpoints.