Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

349 views 3 14
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