Latest script runner Script Functions - files location

Hello,

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? 

 

Thanks. 

1 answer

1 accepted

1 vote

It needs to be in the right package in one of your script roots - see https://jamieechlin.atlassian.net/wiki/display/GRV/Breaking+Changes+for+Custom+JQL+Functions+in+3.0 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

197 views 2 11
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