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

This widget could not be displayed.
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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

85 views 1 0
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