Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jira.project_issue_fields results in error: "Unsupported JIRA deployment type: Cloud or version: (1001, 0, 0). Use 'createmeta' instead." #1907

Open
2 of 4 tasks
OSHFrank opened this issue Oct 21, 2024 · 0 comments

Comments

@OSHFrank
Copy link

Bug summary

As a site-admin after connecting to cloud instance with a token using basic auth, attempting to pull down configuration details.

I get the error in title using jira.project_issue_fields("PROJNAME","Story")

Is there an existing issue for this?

  • I have searched the existing issues

Jira Instance type

Jira Cloud (Hosted by Atlassian)

Jira instance version

1001.0.0-SNAPSHOT

jira-python version

3.8.0

Python Interpreter version

3.12.7

Which operating systems have you used?

  • Linux
  • macOS
  • Windows

Reproduction steps

As a site-admin after connecting to cloud instance with a token using basic auth, attempting to pull down configuration details.

I get the error in title using `jira.project_issue_fields("PROJNAME","Story")`

Stack trace

File "c:\Users\Frank.Castellucci\.vscode\extensions\ms-python.debugpy-2024.12.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 127, in _run_module_code
    _run_code(code, mod_globals, init_globals, mod_name, mod_spec, pkg_name, script_name)
  File "c:\Users\Frank.Castellucci\.vscode\extensions\ms-python.debugpy-2024.12.0-win32-x64\bundled\libs\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_runpy.py", line 118, in _run_code
    exec(code, run_globals)
  File "c:\Users\Frank.Castellucci\pyprojs\firstproj\test2.py", line 27, in <module>
    project_dump_configuration(jira)
  File "c:\Users\Frank.Castellucci\pyprojs\firstproj\test2.py", line 13, in project_dump_configuration
    print(jira.project_issue_fields("OSSP","Stpry"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\Frank.Castellucci\pyprojs\firstproj\env\Lib\site-packages\jira\client.py", line 3073, in project_issue_fields
    self._check_createmeta_issuetypes()
  File "c:\Users\Frank.Castellucci\pyprojs\firstproj\env\Lib\site-packages\jira\client.py", line 2074, in _check_createmeta_issuetypes
    raise JIRAError(
jira.exceptions.JIRAError: JiraError HTTP None
        text: Unsupported JIRA deployment type: Cloud or version: (1001, 0, 0). Use 'createmeta' instead.

Expected behaviour

Details about the Story

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant