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

Does Timesheets REST API support dateFrom and dateTo parameters?

reetum March 26, 2015

It does not seem to work, although I just guessed how it COULD work, because of similar parameters when using web UI.

What I need is something like this:

/rest/tempo-rest/1.0/timesheet-approval/?team=myTeam&dateFrom=2015-01-01&dateTo=2015-03-24

 

5 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Tempo Support
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.
March 27, 2015

Hi Reetu

We value feedback and comments on how we can make Tempo better, so if you have a feature request, please create an issue in our Atlassian JIRA (https://tempoplugin.jira.com/browse/JTMPO).

Tempo product owners are reviewing all requests for Tempo products and if the request is within the scope of the roadmap it is transitioned from the Needs Triage status.

Other users with similar requests can vote on these issues and contribute by adding comments that will help Tempo developers implement the request.

Best regards,

Heiða Dóra

Tempo Team

0 votes
reetum March 27, 2015

Tempo Servlet does not allow filtering by team and it does not seem to support "required" field. I could live with having to do a query for each user in team, but I really need that "required" information.

Date filtering is perfect for me, though! I wish REST API would have the same date filtering options.

0 votes
Tempo Support
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.
March 27, 2015

Hi Reetu

Can you please take a look at the Tempo Servlet Manual: https://tempoplugin.jira.com/wiki/display/TEMPO/Tempo+Servlet+Manual

Following the guidelines it is possible to get worklogs with the approval status for a certain user or project for a defined period. Please see if this meets your need.

Best regards,

Heiða Dóra

Tempo Team

 

 

0 votes
reetum March 26, 2015

I have read the said documentation and knew about the period parameter. It doesn't help at all if you need to know worked/required times in the middle of a period (for example first two weeks of a month - with period parameter API returns always the full period) or for longer timespans.

Thank you anyway!

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.
March 26, 2015

Hi Reetu,

you can not add dates to the URL, but you can add the period. Please take a look at https://tempoplugin.jira.com/wiki/display/TT/Timesheets+REST+API+Guide for more information.

Please note that the documentation of the Tempo REST API is a work in process and that this API is private and subject to change.

Kind regards,

Susanne

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events