How to configure an automation to send an email whenever a issue is removed from an active sprint?

Lucas Ferreira May 2, 2024

Hey guys, hope you are all fine!

The title is self explained, basically... I'd like to receive an email eveytime a issue is removed from an active sprint (not matter if it goes to a future sprint or back to the backlog).

I'm struggling to configure those rules, can anyone give me a hand?

2 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 2, 2024

Hi @Lucas Ferreira 

Unless something was fixed recently, that may not be possible from an automation rule in Jira Cloud without some workarounds...I spent a bit of time on this more than a year ago and here is what I learned:

There are known defects where the changelog for list fields like Sprint, Fix Version, etc. are not accurate when values are added / removed over time.  This is worsened for version fields because the are multiple paths to create a new version and assign it to an issue.  What this means is the {{from}} and {{fromString}} smart values are not reliable for the changelog when the Sprint field changes.

 

One possible workaround requires three rules:

  • The first rule, triggered on Sprint Started, branches to the issues in the sprint, and adds an indicator Label value (or sets a custom field) to mark them as "In_Current_Sprint".  Let's assume we use a Label value.
  • Another rule, triggered on Sprint Completed, branches to the issues in the sprint and removes the label
  • The last rule, triggered on any changes to the sprint field uses conditions to check...
    • Is the label present
    • And with the JQL condition, is the issue not in openSprints()

That last rule is the one which determines an issue was removed from the original sprint scope.

Kind regards,
Bill

0 votes
Dexter de Vera
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 2, 2024
Lucas Ferreira May 2, 2024

@Dexter de Vera that helped a lot! Many thanks!!!

Lucas Ferreira May 2, 2024

Actually that only 'half helped'.

I was able to set the automation, but it sends me email even when issues are moved between future sprints. I can't figure why that's hapenning.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events