diff --git a/jira/resources.py b/jira/resources.py index 7127e2402..85d55da61 100644 --- a/jira/resources.py +++ b/jira/resources.py @@ -1554,7 +1554,7 @@ def __init__( session: ResilientSession, raw: dict[str, Any] | None = None, ): - AgileResource.__init__(self, "board/{id}", options, session, raw) + AgileResource.__init__(self, "board/{0}", options, session, raw) # Service Desk diff --git a/tests/resources/test_board.py b/tests/resources/test_board.py index 183d84fe2..232af42c2 100644 --- a/tests/resources/test_board.py +++ b/tests/resources/test_board.py @@ -48,3 +48,11 @@ def test_create_and_delete(self): # THEN: We get a reasonable looking board assert isinstance(board.id, int) # THEN: the board.delete() method is called successfully + + def test_find(self): + # WHEN: we create a board + with self._create_board() as board: + # WHEN: we find the board + self.jira._find_for_resource(Board, board.id) + # THEN: no error is raised + # THEN: the board.delete() method is called successfully