Latest script runner Script Functions - files location


I've got JIRA 6.3.12 and the latest script runner.


I used to be able to add my script functions in the GUI by clicking add and specifying the location of the source code file. In the latest script runner - I cannot find a way to make my JIRA see my functions (modified its source code in accordance with the doc). I press "scan" and see: "Success. No functions added or removed.", and I can't see my function in the list of the function.


So, how do I point JIRA to my own .groovy scripted function? 



1 answer

1 accepted

1 vote

It needs to be in the right package in one of your script roots - see and its parent page.

Hi, I just googled a little and found out the answer I wish the could find at the link you provided above. So, the information that would have helped - "1. Name your file exactly as your class is named; 2. Place that file into the package folder - com/onresolve/jira/groovy/jql inside your script roots folder" Thanks!

But that's just the rules for java/groovy... if I went into that level of detail on every page nobody would ever read it.

Thanks a lot!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 7 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

25 views 0 4
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