Create Confluence Pages/Posts with Jira Automation

Jira Automation is an Atlassian plugin to automate repetitive tasks. It is very widely used and simplifies common tasks drastically. For example, you can have issues with a priority greater than Medium sent to you at the end of every week or auto-assign certain tickets to a special team.

Although it brings a lot of functionality, there is no native way to automatically write content to Confluence. For example, if you want to generate meeting notes for certain issue types right away or if you want to generate release notes automatically and save them in Confluence, you can’t do that with Jira Automation only. The Atlassian team itself has stated that they see no need in a Confluence integration so far under several tickets (see links at the end).


Disclaimer: We are the developers of – Send Emails to Confluence which is part of the solution below.

If you, however, don’t want to miss this functionality you can make use of the plugin – Send Emails to Confluence. allows you to send emails to your Confluence instances. Jira Automation on the other hand can send emails. The combination of the two is a well-functioning workaround. With you register email addresses which can be seen similar to mailboxes for different Spaces and Pages. To send content to Confluence, you need to register an email address and create an action in the automation that sends the results to that email address. The plugin will then post the emails to Confluence. An easy setup is as simple as that. can do more than that and it is a good idea to come up with a sophisticated set of rules piece by piece to automate as much reporting and knowledge transfer between Jira and Confluence as possible.

Example: Weekly Release Report

In this example, we want to do a release status report on a weekly basis. Instead of emailing this to all involved persons, we want to store this in Confluence so that you have a central place to see and comment on the current release status. To do so we need to complete two steps.

1. Set up

For this example, we assume that you have installed the plugin, set up the mandatory configuration, and have at least one valid email address registered. If you haven’t, you can have a look at our getting started article.

With we can manage how and where content is created in Confluence. A good place for our reports would be under a reporting page in the appropriate product space. In our case, we want to save the reports under Example Product > Weekly Release Reports. The way to do so is by using a space rule. This space rule should fulfill two tasks:

  • Identify all emails from the related Jira automation.
  • Move these emails to Example Product > Weekly Release Reports.

To create a new space rule you need to go to the configuration page of the plugin and then to the Space Rules section. How to get to the configuration page is described in the getting started article referenced above. When you are on the page you have to click on “Add Rule”, after that a modal will open which will guide you through the creation process.

The part to identify a group of emails in a space rule is called condition. The condition can for example identify emails by sender, recipient, or specific subjects. In this example, we use the subject as an identifier of our release reports:

Subject contains “Example Product Weekly Release Report

The next step is to say what should be done with these emails. In our case, we want to populate them under the above-named reports page. To do so we define the action in the space rule:

Move emails to Space “Example Product” as Page under Parent Page “Weekly Release Reports”.

The completed space rule looks like this:

It is important that you save the space rule and afterward save the settings. With that done we’ve completed step one. listens now on emails with a certain subject. Now we need to set up the automation to send these emails.

2. Set up Jira Automation

With Jira Automation, we decide what to put in the release report and when to send it. For this example, we want to collect all issues with a high priority every 7 days (weekly).

To create a new Jira Automation you have to go to the project you want the automation to execute on and click on the lightning symbol in the upper right corner. This will ask you to select the trigger for the automation. Select scheduled.

For the sake of simplicity, we have not used a cron expression. We repeat the task every 7 days. It is important here not to select “Run a JQL search and execute actions for each issue in the query“, otherwise the bulk action used later will not work as desired.

Jira Automation: Weekly trigger

Next, we need to filter what information we want to send. To do this, we use the Lookup action, as this bulks all issues of a JQL. We want to filter all issues of the Example Project (EP) with a priority higher than medium.

Jira Automation: Lookup issues

Finally, we want to send those issues in an email to Confluence. To do so, we need to add a Send email action. In the to field, there must be a address registered by you. To make our previously defined space rule work, set the subject to “Example Product Weekly Release Report“. Make sure you’ve spelled everything right. Then you can define the content of the mail, e.g.

<li>{{key}} - {{summary}}</li>

This will create a simple list of all issues with their summary. You can find a list of all available keywords under lookup in the following article.

Jira Automation: Send email action.

Afterward, you can publish and test your rule. If no emails land in the expected place, it is always good to first check whether the email lands in the default space or was accidentally published as a blog. Sometimes it just takes 2-3 minutes for an email to be published. It is also advisable to define a recipient for replies in the “More Option”-section of the email action. If does not send the email to Confluence for some technical reason, you will receive bounce messages there.


The combination of Jira Automation and allows you to heavily automate reporting and create complex evaluations with Jira and Confluence. If you have further questions you can have a look at our documentation or write us an email at



Leave a Reply

Your email address will not be published. Required fields are marked *