1. Gyuri Horak
  2. jira-python

Commits

Gyuri Horak  committed 0dcf842

extra arguments for add_worklog()

  • Participants
  • Parent commits 853b230

Comments (0)

Files changed (1)

File jira/client.py

View file
 
     @translate_resource_args
     def add_worklog(self, issue, timeSpent=None, adjustEstimate=None,
-                    newEstimate=None, reduceBy=None):
+                    newEstimate=None, reduceBy=None, **kwargs):
         """
         Create a new worklog entry on an issue and return a Resource for it.
 
         if reduceBy is not None:
             params['reduceBy'] = reduceBy
 
-        data = {}
+        data = kwargs.copy()
         if timeSpent is not None:
             data['timeSpent'] = timeSpent