How i can update worklog?

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?

1 answer

1 accepted

1 vote
Timothy Chin Community Champion Apr 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.

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

Timothy Chin Community Champion Apr 21, 2014

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,344 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot