lfShow
Availability
This routine is available starting with
- Power Scripts™ 2.5 (server)
- Power Scripts™ (former katl-commons) 2.5
Syntax
lfShow(field)
Description
Shows the given field.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
field | String | Yes | Specifies the field to show |
Example
The following example demonstrates how to show the issue type field on the issue if the assignee is admin.
if(assignee == "admin") { lfShow("issueType"); }
The image shows that the issue type is displayed on the issue screen and that the assignee is set to "admin".
Additional Fields
In addition to the fields and graphic elements supported by Live Fields accepted by all Live Fields routines, lfShow can also handle:
Element | Field (to be used in routine) |
---|---|
Details Panel | details_panel |
People Panel | people_panel |
Dates Panel | dates_panel |
Timetracking Panel | timetracking_panel |
Activity Panel | activity_panel |
Comments Tab | comments_tab |
History Tab | history_tab |
Worklog Tab | worklog_tab |
All Tab | all_tab |
Add Comment | addComment |
See also