How is Planned Start Date and Planned End Date populated on Enhancements?

tahnalos
Kilo Sage

We have recently discovered that SPM auto populates the Planned Start and Planned End date fields for any form that is a child of the rm_feature form.  Because we are using this field on rm_enhancement directly, the system is not allowing us to populate these fields manually.  On the dictionary, the base default value for these fields from Planned task is

 

javascript:new GlideDateTime().getDisplayValue()

In order for us to use this field on rm_enhancement we have utilized a Dictionary Override to force the Default Value to blank.  We have also done this for User Story and Defect.  However, while the planned dates for User Story and Defect remain blank, the planned dates for Enhancement do not.   We even tried to override this by putting in a business rule on insert that would blank these fields but this also didn't work.  Is there a piece of code that is automatically populating these fields on Enhancement?

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @tahnalos 

 

 rm_enhancement inherits from the parent rm_feature table, OOTB Business Rules, UI Policies, and Dictionary overrides in the SPM application enforce automatic calculation.

To allow manual population of the Planned Start and Planned End date fields on the Enhancement form:

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

I am aware that the Enhancement form is an extension of Feature table.  In fact, I already pointed out that the Planned Start Date and Planned End Date fields are from Planned Task and that Enhancement, Feature, Agile Story, and Defect are extensions of Planned Task itself.  The idea that UI Policy and Display Business Rules may have something to do with this is absurd due to the fact that several test enhancement entries were created on the system with MINIMAL DATA as seen below.

tahnalos_0-1779936718653.png

Neither a display business rule (for a completely different table, mind you) nor a UI policy would explain why the data is automatically populated, especially since I already pointed out that Agile Story and Defect do not have this issue, only enhancement.