Closed
Conversation
Author
|
tests would need to be updated, but I am having issues getting tests working. I will try again in a couple of days |
Contributor
|
Possibly the name of this branch is unclear. Atlassian have applied this change to version 2 of the API as well, so perhaps it should be "Use new JQL endpoint with token based paging". |
levindixon
reviewed
Aug 29, 2025
Comment on lines
+90
to
+94
| if options[:fields] | ||
| url << "&fields=#{options[:fields].map do |value| | ||
| CGI.escape(client.Field.name_to_id(value)) | ||
| end.join(',')}" | ||
| end |
There was a problem hiding this comment.
👋 Important to note that the v2 endpoint returns all navigable fields by default whereas the v3 endpoint only returns IDs.
v2
Note: All navigable fields are returned by default. This differs from GET issue where the default is all fields.
v3
Note: By default, this resource returns IDs only. This differs from GET issue where the default is all fields.
Author
|
closing this in favour of #468 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since the atlassian jira api has deprecated jql search via /rest/api/3/search in favour /rest/api/3/search/jql
This pull requests applies changes based on this documentation
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get
This method also handles the loop through records. The previous version required loop
start_at> end to get all the data. because the api now requires anextPageTokenand therefore its best to do the issue loop from with in this method.Old way to get data to query via jql with records greater than 50 results
new way