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

Accepted Answer
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 Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

360 views 0 8
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