Coverage for src/mcp_atlassian/jira/__init__.py: 100%

1"""Jira API module for mcp_atlassian.

2

3 This module provides various Jira API client implementations.

4"""

5

6# flake8: noqa

7

8# Re-export the Jira class for backward compatibility

9 from atlassian.jira import Jira

10

11 from .client import JiraClient

12 from .comments import CommentsMixin

13 from .config import JiraConfig

14 from .epics import EpicsMixin

15 from .fields import FieldsMixin

16 from .formatting import FormattingMixin

17 from .issues import IssuesMixin

18 from .projects import ProjectsMixin

19 from .search import SearchMixin

20 from .transitions import TransitionsMixin

21 from .users import UsersMixin

22 from .worklog import WorklogMixin

23

24

25 class JiraFetcher(

26 ProjectsMixin,

27 FieldsMixin,

28 FormattingMixin,

29 TransitionsMixin,

30 WorklogMixin,

31 EpicsMixin,

32 CommentsMixin,

33 SearchMixin,

34 IssuesMixin,

35 UsersMixin,

36):

37 """

38 The main Jira client class providing access to all Jira operations.

39

40 This class inherits from multiple mixins that provide specific functionality:

41 - ProjectsMixin: Project-related operations

42 - FieldsMixin: Field-related operations

43 - FormattingMixin: Content formatting utilities

44 - TransitionsMixin: Issue transition operations

45 - WorklogMixin: Worklog operations

46 - EpicsMixin: Epic operations

47 - CommentsMixin: Comment operations

48 - SearchMixin: Search operations

49 - IssuesMixin: Issue operations

50 - UsersMixin: User operations

51

52 The class structure is designed to maintain backward compatibility while

53 improving code organization and maintainability.

54 """

55

56 pass

57

58

59 __all__ = ["JiraFetcher", "JiraConfig", "JiraClient", "Jira"]