Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,598
Community Members
 
Community Events
165
Community Groups

SIL manager autotransition based within IF statement.

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
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

369 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you