Hide Tempo Custom Worklog Attributes

Lukas Hennig
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!
October 13, 2020

Hi everyone,

I want to add an attribute to every worklog of each issue and update it in the background. Therefore I wanted to use the "Worklog Attributes" provided by Tempo. Unfortunately users shouldn't be able to see/update the attribute while creating/updating worklogs. I couldn't find any way to hide the Field in the "Log Time" - Dialog. 

Since we also use Scriptrunner, which has the ability to hide UI elements using fragments, I wonder if custom worklog attribute fields created by Tempo can also be hidden by Scriptrunner? 

If yes, what is the key used by Scriptrunner to find out which UI-Element to hide. The "web location finder" provided by Scriptrunner didn't show any key.

If No, is there an other way to achieve custom attributes linked to worklogs without users having influence on it?

1 answer

1 vote
Alexander Eck [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.
October 13, 2020

Hi Lukas,

Scriptrunner has not a support to hide elements in the Tempo worklog dialog. But PowerScripts by Cprime has. It is called Live fields for Tempo

Powerscripts also offers a wide range of other Tempo routines.

Alternativly you could try to inject some Javascript and search and hide the container where the label is "_yourworkattribute_". But this is of course an unofficial and unsupported way of doing things.  

BR

Suggest an answer

Log in or Sign up to answer