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

2 votes

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 Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

413 views 1 13
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot