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

traceback on sprint/board misconfig #197

Open
lukaszachy opened this issue Mar 27, 2025 · 0 comments
Open

traceback on sprint/board misconfig #197

lukaszachy opened this issue Mar 27, 2025 · 0 comments

Comments

@lukaszachy
Copy link
Contributor

messed up config -> missing 'board' and using 'sprint: active' but newa should not traceback


  File "/usr/lib/python3.13/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3.13/site-packages/click/decorators.py", line 45, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "/usr/lib/python3.13/site-packages/newa/cli.py", line 801, in cmd_jira
    new_issue = jira_handler.create_issue(
        action,
    ...<6 lines>...
        transition_processed=transition_processed,
        fields=rendered_fields)
  File "/usr/lib/python3.13/site-packages/newa/__init__.py", line 1692, in create_issue
    sprint_id = self.sprint_cache['active'][0]
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
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