Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to hide all content from comment notifications in Jira Data Center?

Herrick G_ February 1, 2024

I'm looking to hide all content that is sent as an email when a comment is made on a ticket in a specific project, and instead simply notify the relevant parties that a comment has been added to the ticket. This change should only impact this single project, and not be a global setting. I've already looked at modifying the project's notification scheme and email template, but neither seemed like a good way to achieve this. I've also seen recommendations for utilizing 'restricted' comments, but my understanding is that this will prevent a notification altogether if the relevant parties aren't added to the comment visibility, or will still display all comment content in the notification email if the relevant parties ARE added to the comment visibility. Is there any way to achieve this in Jira Data Center? Thank you!

1 answer

1 vote
Mark Segall
Community Champion
February 2, 2024

Hi @Herrick G_ The only way I can think of accomplishing this is by replacing the native notification behavior with Jira Automation.  

First, can you confirm whether this is for Jira Service Management or Jira Software?  If Jira Service Management, is this for customers, agents, or both?

 

Herrick G_ February 2, 2024

We're using Jira Software. Would replacing the native notification behavior with Jira Automation be a global configuration change that impacts all existing projects, or could this be accomplished on a project-specific basis?

 

Thank you

Mark Segall
Community Champion
February 2, 2024

You can do this on a per project basis.  You would just need to establish a new notification scheme where the following notifications are set to none:

  • Someone made a comment
  • A comment is edited
  • A comment is deleted

You would replace with three automation rules (one for each type of notification that being replaced.  Here's a sample for the first rule:

Rule 1: Comment Added

  • TRIGGER: Issue Commented
  • ACTION: Send Email
    • To: Desired recipients You can use smart values to capture this. For example:
      • {{issue.reporter.emailAddress}}
    • Subject
      • New comment on {{issue.key}}: {{issue.summary}}
    • Body
      • A new comment was added to <a href="{{issue.url}}">{{issue.key}}</a> by {{comment.author.displayName at {{comment.created}}

You would follow the same approach for the other two rules adjusting the trigger accordingly.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events