Hello everyone,
We have an integration between our website and Jira Service Management (JSM).
When a user in our “Reserved Area” submits a “Help Request”, our system automatically creates the corresponding ticket in JSM. The customer correctly receives the standard notification that their request has been logged — this part works fine.
The issue arises when the request includes an attachment:
The BUS adds that file as a public comment on the ticket so that the attachment is visible to the customer in the portal. However, because the comment is public, JSM automatically sends a new notification to the customer saying there’s a new message — which is not desired in this case.
What we tried🔍
Expected behavior🎯
Actual behavior⚠️
Question❓
Is there any way to:
We haven’t yet found a method to create the ticket + attachment without causing the extra notification.
Any guidance, API example, or configuration suggestion would be greatly appreciated.
Environment🧩
Jira Service Management ServiceDesk
Integration via custom BUS
REST API: "/rest/servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile"; "/rest/servicedeskapi/request/{issueIdOrKey}/attachment"
Notifications: default “Notify customer when a public comment is added” enabled
Thanks in advance,
Jorge Lopes / Clan
Hi @Jorge Lopes welcome!
As far as i know, JSM Cloud doesn’t have a way to add an attachment as a public comment without triggering the customer notification. If you set "public": true, the notification will always fire. If you set "public": false, the attachment stays internal and isn’t visible in the portal.
The only supported workaround as far as i remember is to replace the default “Public comment added” notification with an Automation rule that skips emails when the author is your integration user.
There’s no API flag like notifyUsers=false for JSM public comments.
Add attachments via JSM API
https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Issue-commented
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.