Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation: send an email with old and new statuses

Tatiana Marti February 13, 2025

Hello, 

Do you know if it's possible to use automation to send an email with this information:

- last comment

- old status - new status (author of change)

The automation is scheduled, and list issues changed during the week and we want to put in a table the results with thoses informations.

We tried many things but it doesn't work.

Thanks for your help

 

CléRésuméResponsableDate de mise à jourStatutCommentaire
{{key}}{{summary}}{{assignee.displayName}}{{updated.withLocale("fr").asMediumDateTime}}{{#changelog.status}}{{fromString}} - {{#changelog.status}}{{toString}}{{issue.comments.last.body}}

3 answers

1 accepted

0 votes
Answer accepted
Dick
Community Champion
February 13, 2025

Hi @Tatiana Marti 

This is very much possible. 

  • for last comment: see This Atlassian Page:
    {{issue.comments.last.body}}
  • for old status and new status: see This other Atlassian Page:
    old: {{#changelog.status}}{{fromString}}{{/}}

    new: {{#changelog.status}}{{toString}}{{/}}

Don't forget to close the list iterations with {{/}}.

I don't think that a value for the last.author.displayname is available on the status change.

Kind regards,

Dick

0 votes
Aron Gombas _Midori_
Community Champion
February 14, 2025

If you are open to using an app for this, then the Better Excel Automation can generate and email custom Excel spreadsheets.

With a custom template, you can get that exact Excel report you look for. You can find two default templates (samples) ...

  1. to export the full change history for an issue set
  2. to export all comments for an issue set

You could combine these fairly easily.

(This app is developed by our team.)

0 votes
Lucas Modzelewski _Lumo_
Atlassian Partner
February 13, 2025

Check this thread: https://community.atlassian.com/t5/Jira-questions/Automation-Changelog-for-Status-Change/qaq-p/2706335

It's from Cloud, but maybe similar approach and insights about triggrs might help

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events