How i can update worklog?

Pavel Zakharov April 20, 2014

Hello, How can I update jira tempo plugin information (For example : tempo billing hours or work hours) via tempo api. I found some information about it here: https://tempoplugin.jira.com/wiki/display/TEMPO072/Tempo+Servlet+Manual, but this is not enough for my problem. I can build xml string and post this string via java Apache HTTP client on my jira address :

"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"

+ "<worklog_updates><worklog_update>"

+ " <worklog_id>10109</worklog_id>"

+ "<billed_hours>11</billed_hours>"

+ "<work_date>2014-04-07</work_date>"

+ "<hash_value>d9a825dc3ce575cafc8fc2f5aa8ab7db0d94f4f8</hash_value>"

+ "</worklog_update>" + "</worklog_updates>";

But this does not work for me, anyone faced with similar?

2 answers

1 accepted

1 vote
Answer accepted
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 20, 2014

Use the REST API that Tempo exposes. You can use this REST Browser (https://marketplace.atlassian.com/plugins/com.atlassian.labs.rest-api-browser) to find out what they are.

Pavel Zakharov April 20, 2014

If I understand you right, via this plugin I can set and update fields in jira tempo plugin?

Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2014

Yes. I looked at it before and the some of the REST endpoints support POST/PUT.

0 votes
LuisFurtado February 23, 2024

Try this Jira Windows Client.
It's free and opensource and use both, Tempo and Jira API to be always fast.

https://github.com/luisfgfurtado/jira_time_ctrl

Suggest an answer

Log in or Sign up to answer