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]:
27702770 return worklogs
27712771
27722772 @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 :
27742774 """Get a specific worklog Resource from the server.
27752775
27762776 Args:
27772777 issue (Union[str, int]): ID or key of the issue to get the worklog from
27782778 id (str): ID of the worklog to get
2779+ expand (Optional[str]): extra information to fetch inside each resource
27792780
27802781 Returns:
27812782 Worklog
27822783 """
2783- return self ._find_for_resource (Worklog , (issue , id ))
2784+ return self ._find_for_resource (Worklog , (issue , id ), expand = expand )
27842785
27852786 @translate_resource_args
27862787 def add_worklog (
You can’t perform that action at this time.
0 commit comments