why jql functions call getvalues() before validate() and getvalues() called twice??

Deleted user March 12, 2018

Testcase key documantation remain


public List<QueryLiteral> getValues(QueryCreationContext queryCreationContext, FunctionOperand operand, TerminalClause terminalClause)


//First execution comes here.

//third execution comes here.



public MessageSet validate(ApplicationUser searcher, FunctionOperand operand, TerminalClause terminalClause) {

//second execution comes here.



Why this execution steps is following in place of first validation and then get value.??

1 answer

1 vote
Ricardo Herrera October 12, 2020

I also observe this behavior, any idea why this happens?

victor.martinez April 24, 2024

I have seen the same issue... and a very old ticket https://jira.atlassian.com/browse/JRASERVER-22256 that is supposed to be fixed (saying that they added some cache)

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events