RTC Attribute Customization debugging
I have taken over for a former employee who setup most of the RTC System. He had previously created an Attribute customization and it works. I am trying to create a new attribute but can't seem to debug it. I even "dumbed" it down to try and get some output to the console, but I'm getting nothing in Chrome other than that it finds frbapproved.js. I tried to put some breakpoints in the javascript but I get nothing.
dojo.provide("org.example.workitems.providers.frbTest");
dojo.require("com.ibm.team.workitem.api.common.WorkItemAttributes"); (function() { var WorkItemAttributes= com.ibm.team.workitem.api.common.WorkItemAttributes; dojo.declare("org.example.workitems.providers.frbTest", null, { matches: function(workItem, configuration) { console.log("TEST123"); var frb = workItem.getValue("com.ibm.team.workitem.attribute.frbapproved"); console.log("FRB Value" + frb); return true; } }); })(); |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Aug 02 '18, 11:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER You created a condition. It might be that you can not debug it in the JavaScript Debugger, because
Chrome has worked best for me when debugging. Brett Shegogue selected this answer as the correct answer
Comments 1
Brett Shegogue
commented Aug 02 '18, 3:57 p.m.
Thanks Ralph! I failed to setup the Operational Behavior |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.