Initialiser Function : Can we have more than one?

I started using the initialiser function in Scritprunner behaviours instead of our old method and it worked great for the first one I created.  I however went to create a second one for something else and it will not fire.  even a basic "log.error("HERE")" does not run.

So I went to my first one that works perfectly and simply added the second function to it so that when the first one is done, it then runs the second one... and that works.

This leads me to believe that I can have only one?  Is this correct?  I can't seem to find any documentation on it other than an example on how to create one.

 

JIRA 6.4.11 and SR 3.1.4

1 answer

1 accepted

This widget could not be displayed.

Multiple initialisers was in a recent release, 4.1.2, and the equivalent version for JIRA 6.x

Thanks. looking forward to 2016 and a new budget year. Got a work around by creating a master initializer that then calls other functions as required.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

82 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you