Editing fields on Story Progress Board Cards

Michael Ara_jo
Kilo Guru

I have been scratching my head as to where in ServiceNow you can update fields for Story Progress Board cards.  I need to remove Classification and Has Tasks and add Requested for, Epic and Created.
I have found documentation on how to modify VTB cards in these 2 links below, but cards for the specific Agile Scrum Story Progress Board is not the same as visual task boards.

 

I have even found where one can alter certain things within the Story Progress Board through System Properties, like changing the position of the Draft, Ready, Work-In Progress, Ready for Testing, Testing, Canceled, Closed columns under com.snc.sdlc.scrum.pp.progress.story.states, but can't find anything in Sys Properties where I can modify the contents of what the Cards themselves display.

 

Solved: How can I add task fields info in task board card? - ServiceNow Community

Solved: With Guided Visual Task Boards, can I add/delete d... - ServiceNow Community

 

2022_11_01_11_14_04_Clipboard.jpg

 

1 ACCEPTED SOLUTION

Michael Ara_jo
Kilo Guru

I'm answering my own questions as I was able to figure out where the card information is stored, in case it helps anyone else who has this same question.

You can find it under System UI/System Includes/ScrumAjaxTaskBoardDetailsProvider and here is the snippet of the script that displays the label on the card.  Now I'm no Developer/Coder but tested it out that I was on the right place by just commenting out // parts of the code below and confirmed that it disappears from the card.  At least I could tell my developer where to look so he can do the appropriate coding.

 

markup += gs.getMessage("Classification");
markup += '</span>';
markup += '</td>';
markup += '<td style="width: 100%; white-space: nowrap; vertical-align: top;padding-top:5px;padding-left:20px;">';
markup += '<span class="itemClassificationLabelCell" id="classification_labelCell_'+id+'" tabindex="0" role="link" aria-haspopup="true" aria-labelledby="classification_titleCell_'+id+'">';
markup += GlideStringUtil.escapeHTML(classificationLabel);
markup += '</span>';
markup += '</td>';
markup += '</tr>';

if(parentOnly) {
markup += '<tr class="toggleItem">';
markup += '<td style="text-align:right;white-space: nowrap; vertical-align: top;padding-top:5px;">';
markup += '<span class="itemHasTasksCell" id="itemHasTasksCell_'+id+'">';
markup += gs.getMessage("Has Tasks");

View solution in original post

1 REPLY 1

Michael Ara_jo
Kilo Guru

I'm answering my own questions as I was able to figure out where the card information is stored, in case it helps anyone else who has this same question.

You can find it under System UI/System Includes/ScrumAjaxTaskBoardDetailsProvider and here is the snippet of the script that displays the label on the card.  Now I'm no Developer/Coder but tested it out that I was on the right place by just commenting out // parts of the code below and confirmed that it disappears from the card.  At least I could tell my developer where to look so he can do the appropriate coding.

 

markup += gs.getMessage("Classification");
markup += '</span>';
markup += '</td>';
markup += '<td style="width: 100%; white-space: nowrap; vertical-align: top;padding-top:5px;padding-left:20px;">';
markup += '<span class="itemClassificationLabelCell" id="classification_labelCell_'+id+'" tabindex="0" role="link" aria-haspopup="true" aria-labelledby="classification_titleCell_'+id+'">';
markup += GlideStringUtil.escapeHTML(classificationLabel);
markup += '</span>';
markup += '</td>';
markup += '</tr>';

if(parentOnly) {
markup += '<tr class="toggleItem">';
markup += '<td style="text-align:right;white-space: nowrap; vertical-align: top;padding-top:5px;">';
markup += '<span class="itemHasTasksCell" id="itemHasTasksCell_'+id+'">';
markup += gs.getMessage("Has Tasks");