ScienceLogic priority mappings

swaminarne
Mega Contributor

Hi Community,

 

We are using science logic incident automation plugin for integration, I'm unable to find the priority mapping. 

 

Does anyone know where I can find this?

 

Thanks in Advance!

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

Hi @swaminarne 

With ScienceLogic Incident automation plugin you get a transform map called ScienceLogic(SL1) Incident in that find the onBefore script which contains the mapping for Impact and Urgency fields. If you want to customize this you can comment this and implement your own customization. 

 

AnveshKumarM_0-1697788597994.png

The script would look like below.

 

if (source.u_event_severity_label != '') {
        var impactUrgency = '';
        var helper4 = new x_sclo_incident.taskMappingHelper();
        impactUrgency = helper4.determineImpactUrgency(source.u_event_severity_label);
        var splitimpactUrgency = impactUrgency.split('+');
        target.impact = splitimpactUrgency[0];
        target.urgency = splitimpactUrgency[1];
}

 

Please mark my answer helpful and accept as solution if it helped you 👍✔️

Thanks,
Anvesh

View solution in original post

2 REPLIES 2

AnveshKumar M
Tera Sage
Tera Sage

Hi @swaminarne 

With ScienceLogic Incident automation plugin you get a transform map called ScienceLogic(SL1) Incident in that find the onBefore script which contains the mapping for Impact and Urgency fields. If you want to customize this you can comment this and implement your own customization. 

 

AnveshKumarM_0-1697788597994.png

The script would look like below.

 

if (source.u_event_severity_label != '') {
        var impactUrgency = '';
        var helper4 = new x_sclo_incident.taskMappingHelper();
        impactUrgency = helper4.determineImpactUrgency(source.u_event_severity_label);
        var splitimpactUrgency = impactUrgency.split('+');
        target.impact = splitimpactUrgency[0];
        target.urgency = splitimpactUrgency[1];
}

 

Please mark my answer helpful and accept as solution if it helped you 👍✔️

Thanks,
Anvesh

Thanks again Anvesh. Now I understood where to customise it.