E-Mail This Issue - Developer Comments in "Closing" Message


I'm trying to integrate the JETI Plugin into our current workflow.

We would like to inform some external customers, who don't have a jira account, about the status of the tickets they created.

For that, I installed and configured JETI and created a field for these e-mail addresses.

If a comment with a security level (e.g. Only Developers) is added, the customer won't get an e-mail. Which is the desired behavior.
If a ticked is closed with a comment with a security level, the user will get an E-Mail with the comment.

The Problem
I'd like him to not get these "developers-only" comment either, as it is only for internal use, but I'd like him to get a ticket-is-closed message.

Have I done something wrong, while configuring JETI?
I simply added the Event for "Issue closed" and used the Template for "Issue Closed".

I did not change anything on the templates.

Any Ideas?

3 answers

Hi Stephan,

Can you explain how you configured JETI to react on closing an issue? Have you setup JETI postfunction attached to the Close transition or you have JETI Notification with Issue Closed event?



Hello Tibor,

I have attached the JETI Notification wit the Issue Closed Event and a Notifaction Template based on the standard "Issue Closed" template.

I found out, that one possible solution to this Problem is to check in the Template if the "roleVisibilityLevel" is set to an empty string and only show the comment if this is true.

#if( "$!roleVisibilityLevel" =="")

I am not sure if this is the most desirable or intendet way to do this.

Thank you for your feedback Stephan, I'm going to test this case and will come back to you.

Do you insert the comment that was entered during the transition in the template? Where would you use the above velocity fragment?

Hello Tibor,

Yes, the idea is to show the Comment, that was entered during the transition.

The Template I based the E-Mail on, show the Comments with this Function:
#parse("templates/email/html/includes/fields/comment.vm") - This wraps some HTML around the #comment() function

I simply wrapped the code arount it, like this:

#if( "$!roleVisibilityLevel" =="")

For Reference: I'm using the standard templates, that came with jira, in this case the Template for "Issue Closed".

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,711 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you