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

2 sprints with the same name in a board gives an exception #1094

Closed
studioj opened this issue Jul 8, 2021 · 0 comments · Fixed by #1405
Closed

2 sprints with the same name in a board gives an exception #1094

studioj opened this issue Jul 8, 2021 · 0 comments · Fixed by #1405
Assignees

Comments

@studioj
Copy link
Collaborator

studioj commented Jul 8, 2021

Before raising any bug be sure that you used the latest release and that it still reproduces with the latest master. No other version is supported.

Describe the bug
getting sprints by name from a board where there were 2 sprints with the same name (one started and one not started)
resulted in an undefined exception

board_id = 5
jira_client.sprints_by_name(board_id)
  File "C:\Users\....\venv37\lib\site-packages\jira\client.py", line 4053, in sprints_by_name
    raise Exception

To Reproduce
Steps to reproduce the behavior:

board_id = 5
jira_client.sprints_by_name(board_id)

Expected behavior
a clearer error or no exception

Stack Trace

  File "C:\Users\....\venv37\lib\site-packages\jira\client.py", line 4053, in sprints_by_name
    raise Exception

Version Information
Type of Jira instance:

  • Jira Server or Data Center (Self-hosted)
    Python Interpreter: 3.7.7
    jira-python: 3.0.1

Additional context
I'd like to open a PR but i dont actually know if jira instances shoudl eb able to ahndle two sprints with the same name...

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

Successfully merging a pull request may close this issue.

1 participant