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

Hello,


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

Situation
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.

Behavior
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?

Regards,

Tibor

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" =="")
...
#end

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" =="")
#parse("templates/email/html/includes/fields/comment.vm")
#end

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,146 views 13 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot