I have two WebHooks configured to get notified when a Comment is created and when an Attachment is created.
When a user posts a comment with an attachment, the comment_created event contains the comment.jsdPublic
field to check if the comment is an internal note. The attachment_created event doesn't contain a jsdPublic field.
How can I check if an attachment uploaded to a ticket is public or private?
Based on my understanding, only comments has public/internal differential comparison. However, attachments associated to the issues don't have any difference between private/public. Once it is attached, then it is public by nature.
On the functionality side, there are third party add-on which can assist restriction on attachment access - https://marketplace.atlassian.com/apps/1212161/extension-for-jira-service-management?hosting=cloud&tab=overview
You can also contact Atlassian Support (https://support.atlassian.com) to seek additional assistance on your question.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.