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.
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).
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
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!
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