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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

131 views 5 9
Read article

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