Make Tempo Worklogs visible in issues, withoug giving "View Worklogs" Permission

Janek Looschen July 25, 2023

Hey all,

we are using Tempo as a third party app to log time. Our technicians need to be able to see what other technicians have logged in issues. This would be easy if i could give them the permission "View Worklogs". However due to data protection reasons i can not do that.

So i need to find a way to make worklogs, that have been made in an issue, visible, but only(!) inside of that particular issue.

So far we have tried the following:

We wrote an automation that copies the worklogs body and writes it to a custom field.

Problem: The field is not "foldable". So every entry increases the space needed for the text field. This is not a problem for 1-5 entries but if you get 5+ with a big enough worklog body the issue layout will suffer.

We tried using jira forms because it gives us the option to collapse fields, however i could not find a way to write the worklog directly into a forms field, without having to write it to a normal custom field first.

We also thought about creating an Asset Object for worklogs, but scratched this idea soon after due to no practicable way to set up the Worklogs in Asset Attributes.

Lastly we looked into Tempo itself, but could not find anything that resembles what we need. A data scope for "Only Issue Data" would have been ideal.

image.png

Does anybody have an idea on how to achieve what we are trying to do? Thanks so much for the help :)

Janek

1 answer

1 accepted

1 vote
Answer accepted
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.
July 25, 2023

Hi @Janek Looschen

Can you please give more details about the actual information the technicians need to see in the issue and are part of the worklog? 

Do they need to see the worklog description?
If so, you could add the worklog description as a comment to the issue with a JIRA automation.
We do have an example of how to add the worklog description and time spent as a comment to an issue that you could use as a reference.


Best regards,
Susanne Götz
Tempo team 

Janek Looschen July 25, 2023

Hey @Susanne Götz _Tempo_ ,

thanks for reaching out. :)

The information our technicians would need to see are:

Who = the technician
What = the Worklog description
When = date and how much time was spent

Unfortunately if we decide to post every worklog in the comment section, depending on how many worklogs a ticket cumulates, the comment section would get "flooded" and the technician would have to actively search through the comments. We thought this would not be an ideal solution, but it might be one we have to fall back to eventaully if we can't find anything else.

Do you have, by any chance, another suggestion? 

Cheers 

Janek

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.
July 26, 2023

No, there is not really any other way then, but to give the users the "View all worklogs" permission for the project. 
With this, they will be able to see the worklogs of others made on issues within the project (all issues in the project and worklogs of all users, independent if they are technicians or not).

Best regards,
Susanne

Janek Looschen July 26, 2023

Hey @Susanne Götz _Tempo_ ,

we thought as much. Thanks again for your replies.

We'll have to see if our operative teams can live with the option posted above or find another way. 

Best,

Janek

Jacob Jonathan Muzulu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2023

@Susanne Götz _Tempo_  I have a similar issue to Janek except that I just want Jira Automation to send me an email when time tracking and/or worklog change giving me the time spent and the worklog description but it is failing to do that. The picture below is the ticket showing the worklog descriptions that I see after opening the ticket in Jira. I have written a rule to send me the latest comments as they are made and it works well.  The question is where are the comments, history and worklogs stored and why am I getting the comments but not the worklogs in Jira Automation. By the way we also use Tempo Timesheets for entering our work into the system.

Regards.

 

Jacob.

 

Jira Worklog.jpg

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.
September 14, 2023

Hi @Jacob Jonathan Muzulu

The issue history and comments are stored in the JIRA database, as this information is native to JIRA. 

When logging time with Tempo, the worklog author and description are anonymized when the worklog information is synced to JIRA. The worklog author and description can therefore only be retrieved with the use of a Tempo REST API (e.g. https://apidocs.tempo.io/#tag/Worklogs

This API can be used in JIRA Automations, 

Best regards, 
Susanne 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events