- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 08:38 PM
Hi,
I am in the process of attempting to either add color coding or some verbiage/text that says "Parent Ticket", in the'Parent Incident' fields, within the incident list view...if the ticket is a Parent.
I've tried going to Field Styles and have tried a number of variations similar to:
Has anyone had any luck with adding field highlighting/color coding to the parent incident field, or perhaps some text?
Thanks,
Chris A.
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 11:14 PM
Another way of doing it would be to create a new Calculated field called "Parent/Child". Using the following script, it would return an empty string, "Parent", "Child" or "Parent and Child":
(function calculatedFieldValue(current) {
var answer = [];
if (current.child_incidents > 0) {
answer.push("Parent");
}
if (!current.parent_incident.nil()){
answer.push("Child");
}
return answer.join(" and ");
})(current);
This would be the result:
That might be better, as there would be no question about the result, instead of having to remember what that gray dot meant.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 10:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 10:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2022 02:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 11:14 PM
Another way of doing it would be to create a new Calculated field called "Parent/Child". Using the following script, it would return an empty string, "Parent", "Child" or "Parent and Child":
(function calculatedFieldValue(current) {
var answer = [];
if (current.child_incidents > 0) {
answer.push("Parent");
}
if (!current.parent_incident.nil()){
answer.push("Child");
}
return answer.join(" and ");
})(current);
This would be the result:
That might be better, as there would be no question about the result, instead of having to remember what that gray dot meant.