SIL manager autotransition based within IF statement.

Jo Green February 3, 2021

Hi there. I have post functions that run SIL from SIL manager.

In there I'm checking for a certain particular summary, then performing statements if true.  I'm having problems getting autotransition to work and I'm not sure if I can do it from here.

My ideal would be that if statement true, assign issue and auto transition. But with it being a postfunction, I can't know the issue key at this point, and the only other parameters I've found online are for sub or parent.

Sample code below. 

if (summary == "Sample report title") {
    issueType = "Monitoring";
    autotransition(31);

}

The autotransition won't work without additional parameters, and "31" is the status I want to move to (for which I've removed all conditions and validators).

Can anyone help?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events