You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

On this page

Use case

Often it can be useful to notify specific users about certain changes. For example, if an issue reaches a specific status, it can come in handy to get a notification about this update.

In the following use case, an email will be send to the reporter, assignee and the project lead, if a specific transition has been executed.

Configuration

Add the Send email post function to the desired transition or create a new transition.

From

Leave the default value unchanged. It is the option User in field with the value "Current user"

To

Select Field containing users and enter the following fields:

  • Assignee
  • Reporter
  • Project lead

Email content

Subject

Enter the following expression:

%{issue.key} - Transitioned to "Approved"

Email format

Choose HTML

Body

Enter the following content:

<p>
	Hi there,
</p>

<p>
	the %{issue.issueType} <strong><a href="%{system.baseUrl}/browse/%{issue.key}" target="_blank">%{issue.key}</a></strong> ("%{issue.summary}") has been approved at %{system.currentDateTime} by <strong>%{system.currentUser.displayName}</strong>.
</p>

<p>
	Reporter: %{issue.reporter.displayName} <br>
    Assignee: %{issue.assignee.displayName} <br>
    Project: <a href="%{system.baseUrl}/projects/%{issue.project.key}" target="_bank">%{issue.project.name}</a> <br>
    Created: %{issue.created}
</p>

<p>
	Cheers
</p>

Adapt the content of the email according to your needs!




If you still have questions, feel free to refer to our support team.