Skip to content

Conversation

@aditi-kantata
Copy link

@aditi-kantata aditi-kantata commented Jul 28, 2025

Updated the jira search deprecated APIs to the new apis provided by Atlassian,
https://developer.atlassian.com/changelog/#CHANGE-2046.
Also please note this statement mentioned in the changelog
We’ll replace random page access with a continuation token API. This means you won’t be able to get multiple pages at the same time with parallel threads. startAt parameter will be replaced with nextPageToken.
This means that the client of this jira-ruby gem can't use the startAt parameter but needs this gem to send the nextPageToken in response and subsequently that token will be used by the client to fetch the successive pages in their requests. So if you are back from future because of any error, might want to take a look at this info. 😄

@aditi-kantata aditi-kantata self-assigned this Jul 30, 2025
@aditi-kantata aditi-kantata requested a review from a team July 30, 2025 10:41
stub_request(
:get,
site_url + '/jira/rest/api/2/search?jql=id IN(10001, 10000)'
'http://foo:bar@localhost:2990' + '/jira/rest/api/3/search/jql?jql=id IN(10001, 10000)'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@ajitkantata ajitkantata requested a review from b6b July 30, 2025 11:53
@aditi-kantata aditi-kantata marked this pull request as ready for review July 30, 2025 13:53
Copy link
Collaborator

@b6b b6b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it seems reasonable to me. I like adding a separate path we are just using for search. Just one question on naming.

In the future we can probably consolidate this back into one path if we want to fully upgrade to v3.

@b6b b6b merged commit f07e374 into master Jul 31, 2025
1 check passed
@b6b b6b deleted the IE-1122_update_deprecated_jira_apis branch July 31, 2025 19:37
Theotata added a commit that referenced this pull request Aug 1, 2025
b6b added a commit that referenced this pull request Aug 1, 2025
b6b added a commit that referenced this pull request Aug 1, 2025
@aditi-kantata aditi-kantata restored the IE-1122_update_deprecated_jira_apis branch August 1, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants