We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 931186c commit 16111b9Copy full SHA for 16111b9
1 file changed
apps/sim/app/api/tools/jira/issues/route.ts
@@ -172,7 +172,7 @@ export const GET = withRouteHandler(async (request: NextRequest) => {
172
173
const buildUrl = (token?: string) => {
174
const jqlParts: string[] = []
175
- if (projectKey) jqlParts.push(`project = ${projectKey}`)
+ if (projectKey) jqlParts.push(`project = "${escapeJql(projectKey)}"`)
176
if (query) {
177
const q = escapeJql(query)
178
jqlParts.push(`(key ~ "${q}" OR summary ~ "${q}")`)
0 commit comments