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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

154 views 1 3
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