11# coding=utf-8
22import logging
33import re
4- from requests .exceptions import HTTPError
54from .rest_client import AtlassianRestAPI
65
76log = logging .getLogger (__name__ )
@@ -2440,7 +2439,8 @@ def update_partially_sprint(self, sprint_id, data):
24402439 A sprint can be started by updating the state to 'active'.
24412440 This requires the sprint to be in the 'future' state and have a startDate and endDate set.
24422441 A sprint can be completed by updating the state to 'closed'.
2443- This action requires the sprint to be in the 'active' state. This sets the completeDate to the time of the request.
2442+ This action requires the sprint to be in the 'active' state.
2443+ This sets the completeDate to the time of the request.
24442444 Other changes to state are not allowed.
24452445 The completeDate field cannot be updated manually.
24462446 :param sprint_id:
@@ -2509,10 +2509,10 @@ def get_audit_records(self, offset=None, limit=None, filter=None, from_date=None
25092509 it will be set do default value: 1000)
25102510 :param filter: string = text query; each record that will be returned
25112511 must contain the provided text in one of its fields
2512- :param from : string - timestamp in past; 'from' must be less or equal 'to',
2512+ :param from_date : string - timestamp in past; 'from' must be less or equal 'to',
25132513 otherwise the result set will be empty only records that
25142514 where created in the same moment or after the 'from' timestamp will be provided in response
2515- :param to : string - timestamp in past; 'from' must be less or equal 'to',
2515+ :param to_date : string - timestamp in past; 'from' must be less or equal 'to',
25162516 otherwise the result set will be empty only records that
25172517 where created in the same moment or earlier than the 'to'
25182518 timestamp will be provided in response
@@ -2539,4 +2539,4 @@ def post_audit_record(self, audit_record):
25392539 :return:
25402540 """
25412541 url = "rest/api/2/auditing/record"
2542- return self .post (url , data = audit_record )
2542+ return self .post (url , data = audit_record )
0 commit comments