<?xml version="1.0" encoding="UTF-8"?> <worklogs> <worklog> <worklog_id>46445</worklog_id> <issue_id>13189</issue_id> <issue_key>CLOUD-18</issue_key> <hours>8.0</hours> <work_date>2011-10-11</work_date> <username>erica</username> <staff_id>2410724289</staff_id> <billing_key>6</billing_key> <billing_attributes>Account=201405,Billable=3600,Box=true,Input=abc,longSelect=11,Number=123,Type=3<billing_attributes/> <activity_id>v10444</activity_id> <activity_name>CloudBay Sprint 4</activity_name> <work_description>Review</work_description> <parent_key/> <reporter>john</reporter> <external_id/> <external_tstamp/> <hash_value>dc11dffc091fcc72e7358067a9488fa1e31ce314</hash_value> </worklog> </worklogs> |
Activity information: The activity for the worklog is one of the following:
Updates worklogs with external information (external id & external hours).
Note: The hash_value field from getWorklog must be used with the update to verify the integrity of the update.
Input example:
<?xml version="1.0" encoding="UTF-8"?> <worklog_updates> <worklog_update> <worklog_id>46445</worklog_id> <external_id>SAP-ID-12345</external_id> <external_hours>8.0</external_hours> <external_result>OK</external_result> <hash_value>dc11dffc091fcc72e7358067a9488fa1e31ce314</hash_value> </worklog_update> </worklog_updates> |
Output example:
<?xml version="1.0" encoding="UTF-8"?> <worklog_results> <worklog_result> <worklog_id>46445</worklog_id> <external_id>SAP-ID-12345</external_id> <result_tstamp>2011-10-12 11:13:48</result_tstamp> <external_hours>8.0</external_hours> <external_result>OK</external_result> <update_result>OK</update_result> <ms>125</ms> </worklog_result> </worklog_results> |
Returns a worklog report as XML that can be used as input to a reporting tool (iReport).
Returns a list of available accounts (billing keys), to be used when creating reports.
Returns a list of registered non-working days (holidays), to be used when calculating required hours in an external system
If you are adding a parameter like the security token in the url above you need to add ? before the first parameter.