jfrog / jfrog/jfrog-cli

Bug Report: release-bundle-search ignores --url flag and fails with "platform URL is mandatory for lifecycle commands"

Open
#3,439 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
595
Forks
307
Avg merge
4d 17h
Merged PRs (30d)
17

Description

Describe the bug

Description

When running release-bundle-search versions (or release-bundle-search names) with the --url flag explicitly provided, the command fails with the following error instead of returning the expected JSON response:

Trace ID for JFrog Platform logs: 1c35005c3fb04334
platform URL is mandatory for lifecycle commands

This suggests the --url flag is not being recognized or applied for release-bundle-search subcommands.
The same behavior is observed with release-bundle-search names.

Current behavior

The release-bundle-search command fails with the following error instead of returning the expected JSON response.

Reproduction steps

Steps to Reproduce

Run the following command:

CI=true jf release-bundle-search versions my-release-bundle-name \
    --access-token="${MY_ACCESS_TOKEN}" \
    --url="https://my-jfrog-platform-url" \
    --project=my-project-key \
    --format=json
Expected behavior

The command returns som JSON format data.

JFrog CLI version

2.99.0

Operating system type and version

macOS Tahoe 26.4.1

JFrog Artifactory version

7.147

JFrog Xray version

?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Go command implementation and flag handling for the release-bundle-search versions and names subcommands, then reproduce the supplied command with --url. Done means both subcommands recognize the platform URL and return the expected JSON response instead of the mandatory-URL error; the payload names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.