Summary
In certain versions of Artifactory, Xray support bundles do not appear when using the official List Support Bundles REST API endpoint. This is a known issue currently being tracked internally by JFrog R&D.
Symptoms
When executing the List Support Bundles REST API request:
curl -u <USER> "https://<ART_URL>/artifactory/api/system/support/bundles"
Only Artifactory bundles are listed. Xray bundles are missing from the response.
Workarounds
*** Tested on the latest Artifactory (7.133.6) and Xray (3.131.35) at the time.
1. Retrieve Support Bundles via AQL
You can use the following AQL queries to list all existing support bundles stored in the jfrog-support-bundle repository.
All Support Bundles
items.find({"repo": "jfrog-support-bundle"})
Xray Support Bundles
items.find({
"repo": {"$eq": "jfrog-support-bundle"},
"path": {"$match": "*/jfxr/*"}
})
Artifactory Support Bundles
items.find({
"repo": {"$eq": "jfrog-support-bundle"},
"path": {"$match": "*/jfrt/*"}
})
2. Use the UI Endpoint (Unofficial)
As an alternative, you can query the same endpoint used by the Artifactory UI to list bundles:
curl -u <USER> "https://<ART_URL>/artifactory/api/userSupport/listBundles"
To download a specific bundle:
curl -u <USER> "https://<ART_URL>/artifactory/api/userSupport/downloadBundle/<BUNDLE_ID>" --output <BUNDLE_NAME>.zip
Note:
The /api/userSupport/listBundles endpoint is not part of the official REST API and may change or be removed in future releases.
Status
The issue is under investigation by JFrog R&D. Updates will be reflected in future release notes once a permanent fix is available.