In this page
Attach Excel spreadsheets to work items from a JQL query on a specified schedule
Attach Excel spreadsheets to work items on work item events (created, updated, commented, etc.)
How to generate and attach Excel spreadsheets to Jira work items?
Automatically generating Excel files and attaching them to Jira work items is a simple way to create a snapshot or an alternative presentation, but still keep the file in Jira.
You can implement this process by configuring a simple automation flow:
Every time the flow is executed, the Excel file will be attached to the selected work item:
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 Work item Event (created, updated, etc.) triggers, you can choose any other trigger!
- Although the guides are written to implement the "bare minimum" flows, 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.
Attach Excel spreadsheets to work items from a JQL query on a specified schedule
Watch this short tutorial video, then follow the detailed steps under the video:
Configuration steps:
- Login to Jira as administrator.
- Go to Settings (cog icon "⚙" in the top right) → System (under Jira settings) → Global automation (in the left-bar under Automation).
- Click Create flow → Create from scratch.
- Select the Scheduled trigger and configure the schedule. (Do not check Run a JQL search... as the JQL query will be configured via the next action.)
- Click Next → Action.
-
Select the Export Excel action and:
- Click Connect.
- At the Export section, generate the YAML fragment in a new browser tab and import that.
- At the Actions section, click the Attach button and set the target work item to attach to .
-
At the Webhook section, set the callback flow's URL and secret (help).
For Jira Cloud Premium and Enterprise plans (where a separate callback flow is not required, therefore was not created), use these dummy values for now:- URL: https://api-private.atlassian.com/automation/webhooks/jira/a
- Secret: 123
- Click Next → Action.
- Select the Log action (not Log work!) and copy this to Log message:
Excel automation started. (ID: {{createdJiraExport.messageId}}, Log command: "{{createdJiraExport.logCommand}}") - Click the "…" icon in the top right corner and select Flow details.
- Enter "Attach Excel on a specified schedule" to Flow name. (You can use any name as long as it is intuitive.)
- Set Notify on error to E-mail flow owner every time this flow fails.
- Click Save and enable at the top.
- Click Return to flows ("←" icon in the top left corner of the editor).
- You're done!
For Jira Cloud Premium and Enterprise plans (where a separate callback flow is not required, therefore was not created), follow these additional steps:
- Edit the flow.
- On the left, below the Export Excel action, click Add step ("+" icon) → Controls → Delay until.
- At the Event field, select Webhook received.
- At the Time out period field, set 10 minutes.
- At the top, click Save.
- Click the Generate webhook section to open it.
- Click the regenerate icon ("⟲" on the right side of the Secret field), then the Regenerate button.
- Copy the value of the Secret field and paste that to the Secret field of the Export Excel action. (Also save it somewhere safe as it will be unreadable once you leave this step.)
- Copy the value of the URL field and paste that to the URL field of the Export Excel action.
- At the top, click Save again.
- You're done!
Attach Excel spreadsheets to work items on work item events (created, updated, commented, etc.)
Watch this short tutorial video, then follow the detailed steps under the video:
Configuration steps:
- Login to Jira as administrator.
- Go to Settings (cog icon "⚙" in the top right) → System (under Jira settings) → Global automation (in the left-bar under Automation).
- Click Create flow → Create from scratch.
- Select any of the Work item triggers.
- Click Next → Action.
-
Select the Export Excel action and:
- Click Connect.
- At the Export section, generate the YAML fragment in a new browser tab and import that.
- At the Actions section, click the Attach button and set the target work item to attach to .
-
At the Webhook section, set the callback flow's URL and secret (help).
For Jira Cloud Premium and Enterprise plans (where a separate callback flow is not required, therefore was not created), use these dummy values for now:- URL: https://api-private.atlassian.com/automation/webhooks/jira/a
- Secret: 123
- Click Next → Action.
- Select the Log action (not Log work!) and copy this to Log message:
Excel automation started. (ID: {{createdJiraExport.messageId}}, Log command: "{{createdJiraExport.logCommand}}") - Click the "…" icon in the top right corner and select Flow details.
- Enter "Attach Excel on work item event" to Flow name. (You can use any name as long as it is intuitive.)
- Set Notify on error to E-mail flow owner every time this flow fails.
- Click Save and enable at the top.
- Click Return to flows ("←" icon in the top left corner of the editor).
- You're done!
For Jira Cloud Premium and Enterprise plans (where a separate callback flow is not required, therefore was not created), follow these additional steps:
- Edit the flow.
- On the left, below the Export Excel action, click Add step ("+" icon) → Controls → Delay until.
- At the Event field, select Webhook received.
- At the Time out period field, set 10 minutes.
- At the top, click Save.
- Click the Generate webhook section to open it.
- Click the regenerate icon ("⟲" on the right side of the Secret field), then the Regenerate button.
- Copy the value of the Secret field and paste that to the Secret field of the Export Excel action. (Also save it somewhere safe as it will be unreadable once you leave this step.)
- Copy the value of the URL field and paste that to the URL field of the Export Excel action.
- At the top, click Save again.
- You're done!
Questions?
Ask us any time.