Hi,
is it possible to use JQL queries inside plugin that your are developing?
If so, can you please provide a very simple rudimentary example how to implement it, or even just point me in a correct direction what classes from JIRA SDK should I use.
Regards,
Stjepan
Community moderators have prevented the ability to post new answers.
It's well buried in the docs now, but have a look at https://confluence.atlassian.com/display/JIRA/__Searching+in+JIRA
Hi Stjepan,
Sure it's possible. Just search for JqlQueryBuilder here and you will find a lot of samples.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answers!
Is it possible just to pass a JQL string (e.g. "project = TEST AND issuetype = Story") and then query JIRA?
The problem with JqlQueryBuilder in my case is that I am getting JQL queries as strings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The link I gave tells you both how to build queries by adding clauses, and by parsing plain JQL strings (although it is a bit densely written, it is in there - look for the word "parse")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.