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 accepted

0 votes
Answer accepted
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 22, 2018

I think you would need to customize velocity templates for issueupdated, issuecommented, issueclosed considering for which project the templates run. I mean there will be a condition in your template: if project = TEST then return this html part else return some other html. I think it will not work to the text emails

Jim
January 24, 2018

I was afraid that would be the only answer.  Thanks

Suggest an answer

Log in or Sign up to answer