Scriptrunner Behaviour not working consistently

I have utilised the Behaviour Functionality in Scriptrunner (v3.1.3) to setup default values for the Description field for one specific project in our JIRA Instance.

I first set this up in our JIRA Test environment (v6.4.11) and it works successfully as I would expect.

When replicating this in our JIRA Prod environment (also v6.4.11), the description field simply doesn't populate with the default values at all. Our two instances are very similar and the project being mapped is identical. I have also copied and pasted over the serverside script so it is identical too.

I have other Behaviours setup (not using the initialiser function) that are working just fine.

The screenshot attached shows the script used across both our instances.

Can you please help us to investigate what might be causing this issue? Is it coming down to some other conflict in our Prod JIRA and if so, what kind of other things could be conflicting with Behaviours.

I have raised a ticket here also:


Screen Shot 2016-08-09 at 10.01.47 am.png

4 answers

1 accepted

0 votes
Accepted answer

Hi Anika,

You use an old version and there are bugs that have not (and are not in high priority) to be fixed for versions prior to 4.*. Therefore an alternative way to retrieve your log files is documented [here|] Make sure first that you have enabled logging for SR


Hi Anika,

Do you get any errors in your logs ?

Hi Thanos,

I'm actually having problems generating the logs - please see the screenshot attached. I followed these instructions: 

Screen Shot 2016-08-15 at 2.30.39 pm.png

Look forward to hearing back,



Hi Thanos

I have been able to generate the atlassian-jira.log file now - but not the application server log file. What is the best way for me to send this to you? 



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,711 views 17 21
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