In this page

How to generate Excel spreadsheets from Jira and send them in email?

Automatically generating Excel files and sending them as email attachments to one or more recipients is an efficient way to keep your stakeholders informed about Jira issues.

You can implement this process by configuring a simple automation rule:

Every time the rule is executed, recipients will receive an email with the Excel file attached:

To have this in minutes, just follow the step-by-step guides in the next sections!

Notes:

  • Although the guides are written specifically for the Scheduled and the Issue Event (created, updated, etc.) triggers, you can choose any other trigger!
  • Although the guides are written to implement the "bare minimum" rules, you can freely add further actions or conditions for altered logic!
  • The email with the Excel file attachment is sent from the "no-reply@jxlsc.midori.systems" address. This is a verified email address and cannot be changed due to security reasons.

Send Excel spreadsheets in email from a JQL query on a specified schedule

Configuration steps:

  1. Login to Jira as an administrator.
  2. Go to Administration (cog icon "⚙" in the top-right) → SystemAutomation rules.
  3. Click Create rule.
  4. Select the Scheduled trigger.
  5. Set the frequency of the execution. (You can configure a fix rate like "every 7 days" or a custom schedule through a CRON expression.)
  6. At When rule executes..., select the run a JQL search and pass results to subsequent conditions and actions option.
  7. Enter the JQL query.
  8. Review the Only include issues that have changed since the last time this rule executed option depending on your goal. (For example, if you want to re-email the issues that were already emailed, uncheck the box.)
  9. Expand the More options section, and check the Process all issues produced by this trigger in bulk option. (Otherwise, there will be a separate email sent for each issue.)
  10. Click Save.
  11. Click New action.
  12. Select and configure the Send Excel action (action parameters). Hint: set the email address to your own mailbox for the testing period.
  13. Click Save.
  14. Name the rule, and click Turn it on to enable it.
  15. Once it's enabled, click Run rule to test that it's working properly.
  16. Check the Audit log on the left side of the Automation screen, because that keeps a good track of executions and eventual problems. Also check the Jira log if there is problem and the audit log was not helpful.
  17. If it works as expected, configure the rule with the final email addresses.
  18. You're done!

Send Excel spreadsheets in email on issue events (created, updated, commented, etc.)

Automation Lite for Jira offers another type of trigger, called Multiple issue events. As its name suggests, it triggers an action when one of the selected events happen to an issue. By adding conditions, it's also possible to post-filter the issues by a JQL expression.

Configuration steps:

  1. Follow the same steps as in the Send Excel spreadsheet on a specified schedule guide with the following differences:
    1. In step 4-9, select and configure the Multiple issue events trigger.
  2. You're done!

Send Excel action parameters

Most action parameters should be trivial, but the two states of the Send a single email option may require a quick comparison.

"Send a single email" state Off (default) On
Number of emails A separate email is sent to each recipient in the "To" parameter.
(N emails are sent in total, where N is the number of "To" addresses.)
A single email is sent to all recipients in the "To" parameter.
(Only one email is sent.)
"Cc"/"Bcc" recipients Not allowed.
(Because it would lead to an email flood! Imagine this: you want to send separate emails, with the "To" field set to "alice@acme.com, bob@acme.com" and "Cc" set to "cecil@acme.com". In this case, Cecil would receive the same email twice: both the one sent to Alice and the one sent to Bob!)
Allowed.
(They are simply the"Cc" and "Bcc" recipients of the single email.)
Privacy Recipients will not know about each other. Recipients will know about each other.
(More precisely, they can see each other in the "To" and "Cc" fields, but not in "Bcc".)
Email threads Not knowing the other recipients, it is not possible to start an email thread. By using "reply all" on the original email, it is possible to start an email thread with the other recipients.

Questions?

Ask us any time.