Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding the Staff ID to the Tempo reports

Harish Tuccapuram
Contributor
January 17, 2019

when report is being pulled from Tempo time sheet 

Management also wanted to see the Employee ID for that user in the report.

can this be achieved ? or do we have any other alternative ?

 

Versions

Jira server 7.9.2 and Tempo Version 9.2.0


Thanks!

1 answer

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.
January 17, 2019

 Hi Sam,

The employee id can not be added to the exports created from the Tempo Reports but can be added to exports with the Tempo Servlet when exporting in xml format. (https://tempo-io.atlassian.net/wiki/spaces/THC/pages/366805324/Tempo+Servlet+manual).

To include this information in the export, you need to set the Staff Id property in JIRA Administration, Add-ons, Manage add-ons, Tempo Custom Fields.

Regards,
Susanne Götz
Tempo team

Harish Tuccapuram
Contributor
January 24, 2019

Thanks this partially solves the API which im trying to use is this 

http(s)://yourserver.yourdomain/plugins/servlet/tempo-getWorklog/?dateFrom=2011-01-01&dateTo=2011-01-31&format=xml&diffOnly=false&tempoApiToken=my-token 

 

However i have a Team called "Team for Finance Report" and i would like to pull the report from API how can i achieve this with the help of Staffid in it aswell ? the ID of the Team is 3

 how do i need to inject this in the API ?

Capture.PNG

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.
January 25, 2019

Hi Sam,

This is not possible with one call. 

The Tempo Servlet returns the Staff ID, but it is not possible to use this to retreive worklogs for a team ( you can only filter by user)

It is possible to retrieve the worklogs for members in a Team by using the worklogs api: 
/rest/tempo-timesheets/3/worklogs/
and adding the "teamId" parameter, but this does not return the StaffId.

( see also http://developer.tempo.io/doc/timesheets/api/rest/latest/)

Regards,
Susanne 

Daria Pavlova May 30, 2023

@Susanne Götz _Tempo_ 
Dear Susanne, 

I have a pretty same question but we'd like to include in tempo report the jira user id information. As we know any jira user has one. How can we do that?
Another option is to include user email.
Any suggestions?

Thanks in advance!

Daria

Suggest an answer

Log in or Sign up to answer