I am working with scriptrunner/behaviours for several years now, using several server side scripts for the behaviours.
I upgraded the Scriptrunner plugin to v 3.1.4 (JIRA 6.3.12) , and since then I have weird problems when updating a behaviours server side script (behaviour - Edit Server script - Update). The changes in the script are not considered, It seems JIRA continues to work with the old script.
I made some drastic changes (renamed the method!), and the Update even does not give any errors ?
I verified the file path is correct (I renamed the file, and effectively, the Update returns an error indicating the file isn't there anymore).
Is there anything else to do ? Any idea ?
Additional info: I stopped and restarted Jira: now the modified script is used. But when I modify the script again (and then go to the behaviours, Edit Server script, Update), these modifications are NOT taken into account
HOW SHOULD I UPDATE THE SCRIPT without stopping/restarting JIRA ???
One of these two things usually fixes this for me.
1) do a SHIFT-RELOAD on the JIRA issue before proceeding. This will force a reload and not use any locally cached js.
2) In the old version there was a "clear the script cache " link.. Well i used that so much I had it bookmarked.. while that link is not in the newer scriptrunner, it still works.
http://<your JIRA URL>/secure/admin/Behaviours.jspa?clearCache=true&atl_token=<YOUR ALT TOKEN>
if you leave the alt token off it will just ask you to confirm who you are before it continues.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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!
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