Query regarding script runner plugin - RangeQueryFactory

Tarun Sapra Community Champion Mar 30, 2015

Hi All,

 

I was just going through - https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions 

and I checked the source-code of some of the functions already written, almost all the functions have the code stmt.

final RangeQueryFactory<String> RANGE_QUERY_FACTORY = RangeQueryFactory.stringRangeQueryFactory();

 

But In the API - https://developer.atlassian.com/static/javadoc/jira/5.2.11/reference/com/atlassian/jira/jql/query/RangeQueryFactory.html

I can't find the static method stringRangeQueryFactor? Also, does any one of you implemented a a custom function some quick code walk through of any of the existing code would be highly appreciated!

 

Thanks,

Tarun

2 answers

0 votes
Tarun Sapra Community Champion Mar 30, 2015

I am using JIRA 5.2.11

0 votes

Only a couple of them use that factory. What is it you are trying to do?

Tarun Sapra Community Champion Apr 01, 2015

Hi @Jamie Echlin [Adaptavist] , I was going through the source code, I think I only saw the ones which are using it, thus I was confused, I wanted to see some example source code in order to write some JQL functions of my own.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

25,786 views 2 7
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