Hi ,
I am upgrading jira from 5.0.7 to 5.2.11
Just wanted to know the flow of method calls in customJQL ?
In my case getValues method is getting called before validate method which is breaking the validation.
@Jamie,
for a workaround (not a solution) : I am calling the validate method from getValues method.
Still debugging and finding the correct solution.
Typically it does, but not always (which is a bug imho).
If you are running a query in the issue nav, it will always be called first, however I have seen occassions where it doesn't, for instance when starting up jira and then going to the issue nav, the last query that user ran is run.
My workaround is to extract any query params etc in the getValues method as well, so factor out that code into some other routine rather than use class fields (which may cause you problems, as there is only ever a single JqlFunction instance).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.