Why do some date fields have a little circle that is either green, orange or red?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2017 02:16 AM
When browsing through task lists such as Changes, Releases, etc I've noticed that some date fields have a little circle that seems to indicate some kind of condition.
Does anyone knows how to check what do they monitor and, if possible, how to show that indicator on other fields?
Thanks,
Luca
- Labels:
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2017 09:17 AM
For case, if ticket closed 10 days before scheduled resdate - green,
create a new Field Style with
Value field as -
javascript: var diff = gs.dateDiff(current.closed_at.getDisplayValue(), current.scheduled_resdate.getDisplayValue(), true); if (current.request_state = "4" && diff >= 10) {true;} else {false;}
and style field as
background-color:green;
Similarly, you can create two new Field Styles (search in left navigator: System UI > Field Styles) for below two cases -
if ticket closed 5 days before scheduled resdate - orange
if ticket closed 0 days before or after scheduled resdate - red