Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL Question

Swapnil Wale
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 8, 2022


Hello,

I've been using the following JQL: type = bug AND component = example AND key in (XYZ-1212) and created >= 2022-10-01 and assignee = asmith ORDER BY created DESC and as a result I've gotten one ticket that is XYZ-1212.

I tried to use a slightly different JQL: type = bug AND component = example AND key in ~ (1212, 1213, 1214) and created >= 2022-10-01 and assignee = asmith ORDER BY created DESC and expected to get 3 tickets as a result but instead received an error saying: "Error in JQL Query: Expecting either a value, list or function but got '~'. You must surround '~' in quotation marks to use it as a value." .
Does anyone know how to solve this error?

Thank you in adavance!

1 answer

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 19, 2018

You could use Adpativist Scriptrunner or Power Scripts add-ons.

If you use Power Scripts, you could use Live Fields. You can read more here:

https://confluence.cprime.io/display/TR/UI+Manipulation

You would need to use lfAllowSelectOptions(field, options[, triggerChange])

Suggest an answer

Log in or Sign up to answer