File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2770,17 +2770,18 @@ def worklogs(self, issue: str | int) -> list[Worklog]:
2770
2770
return worklogs
2771
2771
2772
2772
@translate_resource_args
2773
- def worklog (self , issue : str | int , id : str ) -> Worklog :
2773
+ def worklog (self , issue : str | int , id : str , expand : str | None = None ) -> Worklog :
2774
2774
"""Get a specific worklog Resource from the server.
2775
2775
2776
2776
Args:
2777
2777
issue (Union[str, int]): ID or key of the issue to get the worklog from
2778
2778
id (str): ID of the worklog to get
2779
+ expand (Optional[str]): extra information to fetch inside each resource
2779
2780
2780
2781
Returns:
2781
2782
Worklog
2782
2783
"""
2783
- return self ._find_for_resource (Worklog , (issue , id ))
2784
+ return self ._find_for_resource (Worklog , (issue , id ), expand = expand )
2784
2785
2785
2786
@translate_resource_args
2786
2787
def add_worklog (
You can’t perform that action at this time.
0 commit comments