2012-10-18 28 views

回答

1

看一看的API页面,特别是检查功能addWorklogAndAutoAdjustRemainingEstimate

RemoteWorklog addWorklogAndAutoAdjustRemainingEstimate(java.lang.String token, 
                 java.lang.String issueKey, 
                 RemoteWorklog remoteWorklog) 
                 throws RemoteException, 
                   RemotePermissionException, 
                   RemoteValidationException 
Adds a worklog to the given issue. The issue's time spent field will be increased by the amount in the remoteWorklog.getTimeSpent(). 

欲了解更多信息和代码段check this answer