Hi Team! I'm Trying to create an automation rule to calculate SPI, with a corporate Jira version without any extra plug-ins, so far, this is my rule:
- When: Sprint Completed
- Then: look up issues project = "ANC" AND Sprint in closedSprints
- And: Add value to the audit log {{lookupIssues.Story Points.sum}}
- And: Add value to the audit log project = "ANC" AND Sprint in closedSprints() AND status = Done
- And: Create variable {{PV}}
- And: look up issues project = "ANC" AND Sprint in closedSprints() AND status = Done
- And: Add value to the audit log {{lookupIssues.Story Points.Done}}
- And: Create variable {{EV}}
- And: Create variable {{SPI}} {{#=}} {{lookupIssues.Story Points.Done}} / {{lookupIssues.Story Points.sum}} {{/}}
- And: Send Mail