Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

There are thousands of requests You want to hide the time-tracking information (e.g. for customers (for example, internal costs) from customers.

Solution

You can do this easily with Power Scripts™ for Jira, however note that the information is still available when inspecting the page source.All you have to do is to create the following Live Fields. Enter the below script and associate it with the main LiveFields Live Fields configuration on your project.

Info

The information is hidden on the user interface for users with the Customer role, but is still visible when inspecting the page source.

hide_tt.sil
Code Block
languagejava
if(isUserInRole(currentUser(),project, "Customer")) {
 lfHide("timetracking_panel");
 lfHide("history_tab");
 lfHide("worklog_tab");
}
That's all. Your customers will have the panels and tabs hidden.

Table of Contents

Table of Contents