Notifications

16 views

Description

Configuration Items fail to be added to Affected CIs association to a Change Request when saved in Assess state.

Steps to Reproduce

  1. Create a Normal Change Request.
    2. Provide CI item as: Email, Assignment Group: Database, and change state to Assess
    3. Save the record from context menu.

    The Affected CIs are not associated to the Change Request and an info message shows:
    Affected CIs cannot be created for in-progress Change Requests. CI: <sys_id> not associated

Workaround

This problem has been fixed in New York. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.

As a workaround, modify the Script Include ChangeCollisionHelper (sys_ID:= 63853c880a0a2c3e15136f8080b90e5e) from:

ChangeCollisionHelper.addCiToChangeAffectedCis = function(ci, changeId) {
    var affectedCiGR = new GlideRecord('task_ci');
    affectedCiGR.task = changeId;
    affectedCiGR.ci_item = ci;
    affectedCiGR.setWorkflow(false);
    affectedCiGR.insert();
};

To:

ChangeCollisionHelper.addCiToChangeAffectedCis = function(ci, changeId) {
    var affectedCiGR = new GlideRecord('task_ci');
    affectedCiGR.task = changeId;
    affectedCiGR.ci_item = ci;
    affectedCiGR.setWorkflow(false);
    affectedCiGR.insert();
};

 


Related Problem: PRB1329881

Seen In

New York

Fixed In

New York

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-07-25 14:20:16
Published:2019-07-25