Community moderators have prevented the ability to post new answers.
Best code sample are JIRA sources
Jira source code is very hard to obtain - one has to decompile jar files for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Everyone who bought JIRA gets access to JIRA sources. Event the cheapest $10 license. I believe the same with other Atlassian products.
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.
Hi Casper!
There is no such thing as JQL input component so you will need to build your own search. For sure it's a good idea to copy-paste from JIRA as much as possible.
I believe you can use JQL auto-complete REST methods (I think the same methods are used by JIRA) /rest/api/2/jql/autocompletedata and /rest/api/2/jql/autocompletedata/suggestions https://docs.atlassian.com/jira/REST/latest/#d2e4417
and to execute JQL you can use either REST search https://docs.atlassian.com/jira/REST/latest/#d2e3176 or do search on the server https://confluence.atlassian.com/display/JIRA/__Searching+in+JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Script Runner provides such queries. You can construct jql queries using customfield values, compare them, perform basic operations such (addition,substraction, multipication, division). Check documentation about JQL functions.
happy script writing!
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not what i mean. I want to use a jql input field in my own add-on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, i don't know any such case as you say. I could be wrong, but as far as i know JIRA api does not provide ready to use jql field. The only thing you may find useful is JqlQueryBuilder api class to build JQL queries programmatically.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.