Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Check approval status for worklog

DmitryM June 9, 2014

Hi

We are using JIRA 6.1.5 with Tempo Timesheets plugin.

is it possible to get only worklogs that have been already approved?

I see (at https://tempoplugin.jira.com/wiki/display/TEMPO/Tempo+Servlet+Manual#TempoServletManual-GetWorklogs) it is possible to get worklogs by different parameters but i didn't found any parameter to check is worklog(s) have been approved.

Or may be exist any possibility to check approved certain worklog or not? (by worklog_id for example)

(For example in ideal case i would like to see result like

<?xml version="1.0" encoding="UTF-8"?>
<worklogs>
<worklog>
<worklog_id>46445</worklog_id>
<issue_id>13189</issue_id>
<issue_key>CLOUD-18</issue_key>
<APPROVED>TRUE/FALSE</APPROVED>
<hours>8.0</hours>
<work_date>2011-10-11</work_date>
<username>erica</username>
<staff_id>2410724289</staff_id>
<billing_key>6</billing_key>
<billing_attributes/>
<activity_id>v10444</activity_id>
<activity_name>CloudBay Sprint 4</activity_name>
<work_description>Review</work_description>
<parent_key/>
<reporter>john</reporter>
<external_id/>
<external_tstamp/>
<hash_value>dc11dffc091fcc72e7358067a9488fa1e31ce314</hash_value>
</worklog>
</worklogs>
)

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Susanne Götz [Tempo]
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.
June 11, 2014

Hi Dmitry,

this is scheduled to be part of Tempo Timesheets 7.10, to be released in middle/ end of July.

Kind regards,

Susanne

Jörn Stengel August 18, 2014

Hi Susanne,

how long will it take until this feature is delivered?

Kind regards,

Joern

0 votes
Susanne Götz [Tempo]
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.
August 18, 2014

Hi Jörn,

I can not give you a version/ date yet when this will be included into a public API. It is possible to retrieve this information by using the JIRA REST Browser (https://developer.atlassian.com/display/DOCS/Using+the+REST+API+Browser). Please note that the API to retrieve the timesheet status are not public and subject to change.

TAGS
AUG Leaders

Atlassian Community Events