Skip to content

Commit 931186c

Browse files
waleedlatif1claude
andcommitted
fix(jira): forward explicit notifyUsers=true query param on issue update
Block now distinguishes true/false/undefined for notifyUsers, but the route collapsed true and undefined into a no-param request. Forward the explicit true intent so it survives any future API default change or proxy override. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 1c25b0f commit 931186c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • apps/sim/app/api/tools/jira/update

apps/sim/app/api/tools/jira/update/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ export const PUT = withRouteHandler(async (request: NextRequest) => {
8080
return NextResponse.json({ error: issueKeyValidation.error }, { status: 400 })
8181
}
8282

83-
const notifyParam = notifyUsers === false ? '?notifyUsers=false' : ''
83+
const notifyParam =
84+
notifyUsers === false ? '?notifyUsers=false' : notifyUsers === true ? '?notifyUsers=true' : ''
8485
const url = `https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3/issue/${issueKey}${notifyParam}`
8586

8687
logger.info('Updating Jira issue at:', url)

0 commit comments

Comments
 (0)