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

Accepted Answer
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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,504 views 2 7
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