Skip to content

fix: createmeta issuetypes endpoint incorrectly blocked on Jira Cloud#2416

Open
star7js wants to merge 3 commits intopycontribs:mainfrom
star7js:fix/createmeta-issuetypes-cloud-check
Open

fix: createmeta issuetypes endpoint incorrectly blocked on Jira Cloud#2416
star7js wants to merge 3 commits intopycontribs:mainfrom
star7js:fix/createmeta-issuetypes-cloud-check

Conversation

@star7js
Copy link
Copy Markdown

@star7js star7js commented Mar 28, 2026

Summary

  • _check_createmeta_issuetypes() was blocking Jira Cloud deployments entirely with self._is_cloud or version < (8,4,0)
  • The Jira Cloud REST API supports this endpoint, so Cloud should be allowed
  • Changed to not self._is_cloud and version < (8,4,0) — Cloud always passes, only old Server/DC (< 8.4.0) is blocked
  • This fix applies to all 4 callers of the check: createmeta_issuetypes, createmeta_fieldtypes, project_issue_types, and project_issue_fields

Closes #2353

The _check_createmeta_issuetypes() guard rejected Cloud deployments
entirely, but the Jira Cloud REST API does support this endpoint.
The check should only block old Server/DC versions (< 8.4.0) where
the endpoint doesn't exist.

Changed condition from `self._is_cloud or version < (8,4,0)` to
`not self._is_cloud and version < (8,4,0)` so Cloud is always
allowed and only old Server versions are blocked.

Fixes pycontribs#2353
@star7js star7js requested a review from a team as a code owner March 28, 2026 20:59
@star7js star7js requested a review from adehad March 28, 2026 20:59
@star7js star7js changed the title Fix createmeta issuetypes endpoint incorrectly blocked on Jira Cloud fix: createmeta issuetypes endpoint incorrectly blocked on Jira Cloud Mar 28, 2026
@star7js
Copy link
Copy Markdown
Author

star7js commented Mar 28, 2026

Hi maintainers — CI is failing because the fix label wasn't auto-applied by the conventional-release-labels action. Could someone please add the fix label so the ack check passes? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

createmeta issuetypes not supported with Jira Cloud server

1 participant