You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns a list of IDs and update timestamps for worklogs updated after a date and time.
1079
+
:param since: The date and time, as a UNIX timestamp in milliseconds, after which updated worklogs are returned.
1080
+
:param expand: Use expand to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.
1081
+
"""
1082
+
url='rest/api/3/worklog/updated'
1083
+
params= {}
1084
+
ifsince:
1085
+
params['since'] =str(int(since*1000))
1086
+
ifexpand:
1087
+
params['expand'] =expand
1088
+
1089
+
returnself.get(url, params=params)
1090
+
1091
+
defget_worklogs(self, ids, expand=None):
1092
+
"""
1093
+
Returns worklog details for a list of worklog IDs.
1094
+
:param expand: Use expand to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.
Returns all time tracking providers. By default, Jira only has one time tracking provider: JIRA provided time tracking. However, you can install other time tracking providers via apps from the Atlassian Marketplace.
1785
+
"""
1786
+
1787
+
url='rest/api/3/configuration/timetracking/list'
1788
+
returnself.get(url)
1789
+
1790
+
defget_selected_time_tracking_provider(self):
1791
+
"""
1792
+
Returns the time tracking provider that is currently selected. Note that if time tracking is disabled, then a successful but empty response is returned.
1793
+
"""
1794
+
1795
+
url='rest/api/3/configuration/timetracking'
1796
+
returnself.get(url)
1797
+
1798
+
defget_time_tracking_settings(self):
1799
+
"""
1800
+
Returns the time tracking settings. This includes settings such as the time format, default time unit, and others.
0 commit comments