[RTFACT-20437] Artifactory /api/search/versions does not return expected versions. Created: 27/Oct/19  Updated: 04/Nov/19

Status: Open
Project: Artifactory Binary Repository
Component/s: REST API
Affects Version/s: 6.12.2
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Atlassian Build Team Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


Hi there,

We are using artifactory rest endpoint /api/search/versions to query a specific version pattern 1000.*.0 . However the endpoint does not return all versions available.We have more than 4k versions for the version pattern. If we use /api/search/versions?g=groupId&a=artifactId&v=1000.*.0&repos=my-repo, artifactory returns 2k+ versions. If we use /api/search/versions?g=groupId&a=artifactId&v=1000.*.0 (without repos=my-repo param), artifactory returns 4k+ version, but still not all. Note all versions of the artifact exist in my-repo.

We have confirmed that increasing artifactory.search.userQueryLimit can help, but that should not be considered as a proper workaround as the property affects other aql results as well.

Ideally the endpoint should respect artifactory.search.userQueryLimit and return results with pagination if there are too many.


Generated at Tue Aug 11 15:34:31 UTC 2020 using Jira 8.5.3#805003-sha1:b4933e02eaff29a49114274fe59e1f99d9d963d7.