changes.mady.by.user Jonathan Muse
Saved on Dec 12, 2022
changes.mady.by.user Shane Smith
Saved on Oct 11, 2024
Power Scripts™ for Jira 2.5.2+ (server)
Level: BASIC
...
You want to hide time-tracking details for customers, such as internal costs.
You can do this
using Power Scripts™ Live Fields.
Enter the script provided below and link it to the main Live Fields configuration in your project.
The information is hidden on the user interface for users assigned the Customer role. However, it is still accessible when inspecting the page source.
if(isUserInRole(currentUser(),project, "Customer")) { lfHide("timetracking_panel"); lfHide("history_tab"); lfHide("worklog_tab"); }
Table of Contents