apache/kafka · error · Exception
Didn't find any issues for version
Error message
Didn't find any issues for version {version} What it means
Same source site and condition as error 118: release/notes.py:generate raises when the Jira query `project=KAFKA and fixVersion=<version>` returns no issues. The two catalogue entries differ only in how the placeholder is rendered in the message (the literal {} vs the interpolated name); the underlying failure is identical - no Jira issue carries the given fixVersion.
Solutions
- Match the exact fixVersion string shown in Jira when calling generate(version).
- Tag at least one issue with the fixVersion before generating notes.
- Verify Jira connectivity/credentials used by release/notes.py.
- Search Jira directly (`fixVersion = "<version>"`) to confirm the expected issue set before invoking the script.
Example fix
# before
notes.generate("3.7") # Jira fixVersion is "3.7.0" -> Exception
# after
notes.generate("3.7.0") Defensive patterns
Strategy: validation
Validate before calling
issues = query(f"project=KAFKA and fixVersion={version}")
if not issues:
raise SystemExit(f"No Jira issues for fixVersion '{version}'. Verify the name in Jira.")
generate(version) Type guard
null
Try / catch
try:
notes.generate(version)
except Exception as e:
print(f"{e}; confirm fixVersion '{version}' exists in Jira", file=sys.stderr)
raise Prevention
- Match the fixVersion string exactly as it appears in Jira.
- Tag at least one issue with the fixVersion before generating notes.
- Confirm Jira connectivity/credentials if results are unexpectedly empty.
When it happens
Trigger: generate(version) where version is not a fixVersion on any KAFKA Jira issue (wrong name, unplanned release, or Jira auth/query problem).
Common situations: Version string mismatch with Jira's fixVersion naming; running the tool before issues are tagged; Jira credentials/connection issue causing an empty result.
Related errors
- Didn't find any issues for version
- Unexpected contents in the artifact. Exactly one version…
- Docker Image Build failed
- Docker image push failed
- Failure in executing following command:-
AI-assisted analysis of apache/kafka@996fb4585a (2026-08-11).
Data as JSON: /api/errors/630c96afcedd26d9.
Report an issue: GitHub.
Appendix: source
Thrown at release/notes.py:148
def issue_str(issue):
"""
Provides a human readable string representation for the given issue.
"""
key = "%15s" % issue.key
resolution = "%15s" % issue.fields.resolution
link = issue_link(issue)
return f"{key} {resolution} {link}"
def generate(version):
"""
Generates the release notes in HTML format for given version.
Raises an error if there are unresolved issues or no issues
at all for the specified version.
"""
issues = query(f"project=KAFKA and fixVersion={version}")
if not issues:
raise Exception(f"Didn't find any issues for version {version}")
unresolved_issues = filter_unresolved(issues)
if unresolved_issues:
issue_list = "\n".join([issue_str(issue) for issue in unresolved_issues])
raise Exception(f"""
Release {version} is not complete since there are unresolved or improperly
resolved issues tagged {version} as the fix version:
{issue_list}
Note that for some resolutions, you should simply remove the fix version
as they have not been truly fixed in this release.
""")
return render(version, issues)
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Usage: python notes.py <version>", file=sys.stderr)View on GitHub (pinned to 996fb4585a)