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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot